Re: Date Help - D&T stamp w Short dates
Re: Date Help - D&T stamp w Short dates
- Subject: Re: Date Help - D&T stamp w Short dates
- From: "Arthur J. Knapp" <email@hidden>
- Date: Tue, 14 Jan 2003 15:13:41 -0500
>
Date: Tue, 14 Jan 2003 16:51:12 +0100
>
From: Emmanuel <email@hidden>
>
Subject: Re: Date Help - D&T stamp w Short dates
>
At 10:23 AM -0500 14/01/03, Arthur J. Knapp wrote:
>
> For those foolish Americans who cannot wrap their minds around the concept
>
> of the 24 hour clock, the following format will also allow a temporal sort:
>
>
>
> 2003-12-31 AM 12-59-59
>
> 2003-12-31 PM 12-59-59
>
Not sure I understand:
>
>
Times are ordered as:
>
AM 12-59-59 < AM 10-59-59 < AM 11-59-59
>
>
While strings do:
>
AM 10-59-59 < AM 11-59-59 < AM 12-59-59
It is amazing just how foolish those Americans can be... ;-)
Thank you, Emmanuel. Obviously my suggestion was ridiculous.
(test, then post, test, then post...)
Another important alternative way in which one can work with dates
is simply by working with the seconds that have elapsed since the the
start of the "Macintosh era":
property kdEraStart : date ("" & "1-Jan-1904") --> 0 seconds since era
on SecondsSinceEra( d )
return d - kdEraStart --> count of seconds since 1 Jan, 1904
end
{ Arthur Knapp, of <
http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
"Safe the Nature" - political graffiti in Prague
}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.