date works with literal, but not otherwise
date works with literal, but not otherwise
- Subject: date works with literal, but not otherwise
- From: email@hidden
- Date: Tue, 8 Dec 2009 08:50:41 +0100
Hi List
In AppleScriptEditor, the following code displays the correct date
set dateString to "Montag, 7. Dezember 2009 00:00:00" set myDate1 to date dateString try display dialog "myDate1: " & myDate1 as string on error display dialog "ERROR: read myDate1" end try
In AppleScriptObjC however, it displays the ERROR message. When i change the first two lines to one single line:
set myDate1 to date "Montag, 7. Dezember 2009 00:00:00"
There is no Error Message.
I don't quite understand why this is the case. Can anyone help me please?
Thanks, Bernhard
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden