Re: find yesterday date using date command
Re: find yesterday date using date command
- Subject: Re: find yesterday date using date command
- From: Cameron Hayne <email@hidden>
- Date: Mon, 1 Jan 2007 14:47:56 -0500
On 1-Jan-07, at 1:59 PM, Doug McNutt wrote:
It's a pain. Apple does not like to have plain old users have
access to the numbers that constitute the number of seconds from
1904 (MacOS) or 1970 (UNIX).
-- secondsSince:
-- Returns the number of seconds since 'aDate'
on secondsSince(aDate)
set curr to (current date)
set elapsed to (curr - aDate)
return elapsed
end secondsSince
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden