Re: A few questions about dates
Re: A few questions about dates
- Subject: Re: A few questions about dates
- From: Michelle Steiner <email@hidden>
- Date: Sat, 26 Aug 2006 19:30:00 -0700
On Aug 26, 2006, at 7:27 PM, kai wrote:
set x to "july 4, 1776"
set y to "July 4, 2006"
set z to (current date) - (date x)
(z / days) / 365.24
--> 230.14674077826
But that is some 53 days off; when did the US move from the Julian
calendar to the Gregorian? And how many days difference did that
cause?
set x to "july 4, 1776"
set y to "July 4, 2006"
set z to (date y) - (date x)
z mod (days * 365.24) / days
--> 365.04
:-)
Argh! Sloppy preafrooding and sloppy editing. *sigh*
--
Democrats think the glass is half full. Republicans think the glass
is theirs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden