• 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: list of (more than one) text item delimiters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list of (more than one) text item delimiters


  • Subject: Re: list of (more than one) text item delimiters
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 16 Dec 2003 10:21:17 -0700

On Dec 16, 2003, at 9:36 AM, Graff wrote:

set theTime to date "01:23:12.03"

It mistakenly converts this to:
"Monday, January 23, 2012 3:00:00 AM"

Obviously it is getting confused and is treating the string as something similar to this:
01.23.12.03

If I remove the .03 like this:
set theTime to date "01:23:12"

I get the much more correct:
Tuesday, December 16, 2003 1:23:12 AM

But

date "01:23:12:03"

--> date "Wednesday, December 3, 2003 1:23:12 AM"

--Michelle

--
Are you better off today than you were on Jan 20th, 2001?
_______________________________________________
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: 
 >list of (more than one) text item delimiters (From: Brennan <email@hidden>)
 >Re: list of (more than one) text item delimiters (From: Graff <email@hidden>)

  • Prev by Date: Re: Strange iDisk name (e.g., name-1)
  • Next by Date: Re: Complex HTML from Safari to Mail
  • Previous by thread: Re: list of (more than one) text item delimiters
  • Next by thread: Re: list of (more than one) text item delimiters
  • Index(es):
    • Date
    • Thread