• 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: date/Snow Leopard changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date/Snow Leopard changed


  • Subject: Re: date/Snow Leopard changed
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 6 Sep 2009 13:57:04 -0700

On Sep 6, 2009, at 8:12 AM, Yvan KOENIG wrote:

ne user (luKreme) writing that it's system set to mm/dd/yyyy is able to decipher dd/mm/yyyy
and
two user s(Michelle and Deivy) writing that it's system set to mm/dd/yyyy is unable to decipher dd/mm/yyyy

If dd is 12 or less and mm is 31 or less, it will compile, but it might not return the correct result.  If the format is "mm/dd/yy" and you enter "12/07/09", you will get the wrong result if you actually meant July 12th, 2009.

It also handles overflows of dd (for 29, 30, and 32) if the month is shorter than the dd specified.  For instance, if the format is mm/dd/yy, and you enter 02/31/09, the result is date "Tuesday, March 3, 2009 12:00:00 AM"

If you enter 32 or greater for dd, or 13 or greater for mm, you will get a runtime error.

-- Michelle

-- 
I am a pseudomasochist..  I like it when people pretend to beat me. 


 _______________________________________________
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: date/Snow Leopard changed
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: date/Snow Leopard changed (From: Doug Tallman <email@hidden>)
 >Re: date/Snow Leopard changed (From: Yvan KOENIG <email@hidden>)
 >Re: date/Snow Leopard changed (From: LuKreme <email@hidden>)
 >Re: date/Snow Leopard changed (From: Yvan KOENIG <email@hidden>)
 >Re: date/Snow Leopard changed (From: Michelle Steiner <email@hidden>)
 >Re: date/Snow Leopard changed (From: Deivy Petrescu <email@hidden>)
 >Re: date/Snow Leopard changed (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: new (I think) time question
  • Next by Date: Re: date/Snow Leopard changed
  • Previous by thread: Re: date/Snow Leopard changed
  • Next by thread: Re: date/Snow Leopard changed
  • Index(es):
    • Date
    • Thread