Re: Newbie: Coercing Month of date class to a number
Re: Newbie: Coercing Month of date class to a number
- Subject: Re: Newbie: Coercing Month of date class to a number
- From: John W Baxter <email@hidden>
- Date: Wed, 20 Feb 2002 23:08:00 -0800
At 15:10 +0000 2/20/2002, Casey ,Mr Damon wrote:
>
I am writing a script that puts the date into a filename as a UK date eg:
>
20/02/2002
If you have sufficient control over the problem statement, I urge you to
break away from UK a bit, and use something like 20-02-2002. Those
virgules will bite you sooner or later.
Actually, I'd go farther (and have a standard on my side) and use
2002-02-20 (ISO standard format, and also sortable easily.) But you may
not have that much problem control.
As to your question...your way is quite workable, and easy to understand.
It breaks in some calendar systems, but so do the alternatives I've seen.
[Make it work in the Balinese system!]
--John
Palindromic date: 20 Feb 2002 at 2002 (8:02PM for unconverted US folks),
represents nicely as the palindromic (I've added punctuation, which the
real palindrome might omit)
20-02-2002 20:02
--
John Baxter email@hidden Port Ludlow, WA, USA
(where's my middle Wednesday signature when I need it?)
_______________________________________________
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.