Re: Time/Date stamping
Re: Time/Date stamping
- Subject: Re: Time/Date stamping
- From: "Robert C. Jacobson" <email@hidden>
- Date: Mon, 12 Aug 2002 12:26:17 -0400
At 9:48 AM -0600 8/9/02, Jeff Davison wrote:
Is there a way to get the current time down to the second to be included in
a variable?
Are you using OSX?
set timestring to do shell script "date '+%m/%d/%Y %H-%M-%S'"
--> "08/12/2002 12-24-32"
Though, you may not want to use "/" in the filenames.
Check "man date" and "man strftime" for more info.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson email@hidden
BS, Aeronautical Engineering Univ. of Md., College Park
Flight Ops. Team - SOlar Heliospheric Observatory (SOHO)
(301) 286-1591
_______________________________________________
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.