• 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: getting the date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: getting the date


  • Subject: RE: getting the date
  • From: "Reese, Steve" <email@hidden>
  • Date: Wed, 31 Dec 2003 02:06:42 -0800
  • Thread-topic: getting the date

Assuming OS X
set theDate to do shell script "date \"+DATE: %m%d%y\""
theDate is 123103
stevan


-----Original Message-----
From: Simon Kidd [mailto:email@hidden]
Sent: Tue 12/30/2003 7:37 AM
To: email@hidden
Cc:
Subject: getting the date
Hi,

Iam trying to make a folder with the current date, Ive found that:

set days_date to current date

gives me the date and time in this format "date "Tuesday, 30
December, 2003 10.34.27am""

is there a way of getting the date like so: "031230"

thanks

Simon
_______________________________________________
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.
_______________________________________________
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.

  • Prev by Date: Re: UI Scripting
  • Next by Date: Re: getting the date
  • Previous by thread: Re: getting the date
  • Next by thread: Re: getting the date
  • Index(es):
    • Date
    • Thread