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

Re: Revisited: date/Snow Leopard changed


  • Subject: Re: Revisited: date/Snow Leopard changed
  • From: Michelle Steiner <email@hidden>
  • Date: Sat, 5 Sep 2009 16:14:16 -0700


On Sep 5, 2009, at 3:00 PM, Robert Poland wrote:

set y to "9/9"
set PictureDate to short date string of date y
y

With Leopard this used to give me a result of 9/9/09. In Snow Leopard it gives me the error; Can't get short date string of "9/9".

Looks like "short date string" was a part of standard additions in the past.

What replaced it.

The problem isn't with "short date string", but that "9/9" isn't a valid input for a date.

set y to "9/9"
date y

--> error "Invalid date and time date 9/9 of «script»." number -30720

You have to provide month, day, and year, in one of the formats specified in the Language & Text System Preferences.

-- 
"Other than telling us how to live, think, marry, pray, vote, invest, educate our children and, now, die, I think the Republicans have done a fine job of getting government out of our personal lives."

--Craig Carter

 _______________________________________________
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: Revisited: date/Snow Leopard changed
      • From: Robert Poland <email@hidden>
References: 
 >date/Snow Leopard changed (From: Robert Poland <email@hidden>)
 >Re: date/Snow Leopard changed (From: Yvan KOENIG <email@hidden>)
 >Re: date/Snow Leopard changed (From: Robert Poland <email@hidden>)
 >Revisited: date/Snow Leopard changed (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Missing size values in SL Finder
  • Next by Date: Re: Revisited: date/Snow Leopard changed
  • Previous by thread: Revisited: date/Snow Leopard changed
  • Next by thread: Re: Revisited: date/Snow Leopard changed
  • Index(es):
    • Date
    • Thread