• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Time Stamp String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: TextEdit suppresses a folder.
  • Next by Date: Re: TextEdit suppresses a folder.
  • Previous by thread: Re: Time Stamp String
  • Next by thread: Re: Time Stamp String
  • Index(es):
    • Date
    • Thread