• 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/Date stamping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Time/Date stamping (From: Jeff Davison <email@hidden>)

  • Prev by Date: Re: stripping resource forks from a file.
  • Next by Date: Re: Display dialog Return - Bug or Feature?
  • Previous by thread: Re: Time/Date stamping
  • Next by thread: Re: Time/Date stamping
  • Index(es):
    • Date
    • Thread