• 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: Dates/times from strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dates/times from strings


  • Subject: Re: Dates/times from strings
  • From: Andrew Oliver <email@hidden>
  • Date: Fri, 21 Feb 2003 00:15:56 -0800

Simple:

date "21/2/2003"
--> date "Friday, February 21, 2003 12:00:00 AM"

Note that what AppleScripts accepts as acceptable in the string depends on
your international settings (e.g. date "2/21/2003" in the US, date 21/2/2003
pretty much everywhere else)

On 2/20/03 11:53 PM, "Tim Mansour" <email@hidden> wrote:

> Hi all,
>
> Just after a way to convert from a text string to a date, eg change the
> string "21/2/2003" into an AppleScript date type.
>
> ____________________________________________
> Tim Mansour <email@hidden>
> _______________________________________________
> 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.

References: 
 >Dates/times from strings (From: Tim Mansour <email@hidden>)

  • Prev by Date: Re: Dates/times from strings
  • Next by Date: Removing duplicate messages in Mail.app
  • Previous by thread: Re: Dates/times from strings
  • Next by thread: Re: Dates/times from strings
  • Index(es):
    • Date
    • Thread