• 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: Paul Berkowitz <email@hidden>
  • Date: Fri, 21 Feb 2003 00:14:15 -0800

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

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

Assuming you're writing from somewhere where dd/mm/yy is the Date & Time
order on your computer, it couldn't be much easier. Try compiling ("check
syntax"):

date "21/2/2003"

If you're inside an application tell block, you'll usually have to write:

tell me to get date "21/2/2003"

--
Paul Berkowitz
_______________________________________________
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: Dates/times from strings
  • Next by Date: Re: Dates/times from strings
  • Previous by thread: Dates/times from strings
  • Next by thread: Re: Dates/times from strings
  • Index(es):
    • Date
    • Thread