• 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 14:08:34 -0700

On Sep 6, 2009, at 10:28 AM, Doug Tallman wrote:

Or this:

on newDate(m, d, y)
set new_date to date ((m as string) & ¬
"/" & (d as string) & "/" & (y as string))
return new_date
end newDate

newDate(12, 25, 1973)

That would depend on the international settings.

If the settings are dd/mm/yy, it will give a wrong result or will cause a runtime error, depending on the values passed.

-- Michelle

-- 
Reading computer manuals without the hardware is as frustrating as reading sex manuals without the software.
-- Clarke's sixth law

 _______________________________________________
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

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: "Mark J. Reed" <email@hidden>)
 >Re: date/Snow Leopard changed (From: "Mark J. Reed" <email@hidden>)
 >Re: date/Snow Leopard changed (From: Deivy Marck Petrescu <email@hidden>)
 >Re: date/Snow Leopard changed (From: Doug Tallman <email@hidden>)

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