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: Sun, 14 Oct 2007 23:02:54 +0100
I wrote on Sun, 14 Oct 2007 12:41:42 +0100:
>The script below should write the current date to a file on the desktop
>and read it back again. Someone on bbs.applescript.net says that the date
>returned on their Intel machine is 1st January 1904 00:00:00. Could
>anyone here with an Intel machine confirm this bug for me? Many thanks.
Thanks very much for all the replies, both on and off list. I can get the
same result on a PPC machine by beginning the read in the wrong place, so
maybe the Intels are doing something similar.
One of my suggestions to the bbs.applescript.net poster was to try
reading the file 'as double integer' and adding the result to date "1
January 1904 00:00:00", but he didn't say if that worked or not. He opted
for putting the date in a list or record and writing/reading the result.
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