• 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
Changing current date format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing current date format


  • Subject: Changing current date format
  • From: JF <email@hidden>
  • Date: Sun, 19 Jan 2014 16:17:44 +0000

The (current date) format in a script automatically results in this output:
Sunday, 19 January 2014 16:11:27
which is too much for an email subject.

I have tried:
(do shell script "date +%Y-%m-%d") which produces
2014-01-19
which I can rearrange, but I cannot change the 01 to "January" by adding mmmm (as in Microsoft Office).

How can I set the current date to read: 17Jan2014 or 17 January 2014?
and without the time

Thanks for any help




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: Changing current date format
      • From: Luther Fuller <email@hidden>
    • Re: Changing current date format
      • From: "koenig.yvan" <email@hidden>
    • Re: Changing current date format
      • From: Neil Faiman <email@hidden>
    • Re: Changing current date format
      • From: "koenig.yvan" <email@hidden>
  • Prev by Date: Re: Get property size
  • Next by Date: Re: Changing current date format
  • Previous by thread: Re: Get property size
  • Next by thread: Re: Changing current date format
  • Index(es):
    • Date
    • Thread