Re: Getting the time of day
Re: Getting the time of day
- Subject: Re: Getting the time of day
- From: Steve Mills <email@hidden>
- Date: Wed, 24 Sep 2003 09:37:21 -0500
On Wednesday, Sep 24, 2003, at 09:18 US/Central, Lyle Petro wrote:
I would like to be able to determine the time of day via
AppleScript. Am I
missing something simple, or is a little mathematical magic involved?
It depends on what you want to do with the time. If you just want to
present it to the user or stick it in a file or whatever, you can use
"time string of (current date)". But if you need it to do time math,
like figuring out how long it took to do something, then use "time of
(current date)", which returns the number of seconds since midnight.
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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.