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

Re: Changing current date format


  • Subject: Re: Changing current date format
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 19 Jan 2014 11:35:41 -0600

On Jan 19, 2014, at 10:17 AM, JF wrote:

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

You can modify Yvan's suggestion with this script ...

property abbrMonth : {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}

my getAbbrDate()
display dialog the result

on getAbbrDate()
tell (current date)
(its day as text) & (item (its month as integer) of abbrMonth) & its year
end tell
return the result
end getAbbrDate




 _______________________________________________
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: Christopher Stone <email@hidden>
References: 
 >Changing current date format (From: JF <email@hidden>)

  • Prev by Date: Re: Changing current date format
  • Next by Date: Re(2): Changing current date format
  • Previous by thread: Re: Changing current date format
  • Next by thread: Re: Changing current date format
  • Index(es):
    • Date
    • Thread