Re: Intel, Read/Write, and dates
Re: Intel, Read/Write, and dates
- Subject: Re: Intel, Read/Write, and dates
- From: "Nigel Garvey" <email@hidden>
- Date: Tue, 27 Nov 2007 23:37:42 +0000
Harald E Brandt wrote on Tue, 27 Nov 2007 14:36:02 +0100:
>(A recap:
> write (current date) as date to fRef
> and then:
> read file filePath as date
> results in 1st January 1904)
>I tried your suggestion 'as double integer' and adding the number
>directly to the 1904 date, but that does not give the correct result.
>
>However, if I instead write "...as «class isot»", and then read it "as
>«class isot») as date", then it works!
>Also the following works: Make the date into a list, and then read the
>file as a list! The first item is the correct date!
Thanks for the information, Harald.
Am I right in guessing that integers and reals are affected by this
problem too on Intel machines, since dates and Unicode text are? Does the
list approach work with them?
NG
_______________________________________________
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