Re: Time Stamp String
Re: Time Stamp String
- Subject: Re: Time Stamp String
- From: kai <email@hidden>
- Date: Mon, 14 Mar 2005 23:04:00 +0000
On Mon, 14 Mar 2005 22:29:31 +0000, I wrote:
If speed is a serious consideration, then the following 'pad' handler
may be slightly faster:
Actually, if speed is a serious consideration then it's worth taking
the mathematical principle even further:
---------------------
set d to current date -- or whatever
set d to ((d's year) * 10000 + (d's month as integer) * 100 + (d's day)
as string) & "_" & d's time
---------------------
Granted, there's still a bit of manipulation involved - but here, it's
between 25 to 30 times faster than a shell equivalent.
---
kai
_______________________________________________
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