• 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: Intel, Read/Write, and dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Intel, Read/Write, and dates
      • From: Harald E Brandt <email@hidden>
    • Re: Intel, Read/Write, and dates
      • From: Harald E Brandt <email@hidden>
  • Prev by Date: Re: Excel Save as Question
  • Next by Date: How to get info about pdfs?
  • Previous by thread: Re: Intel, Read/Write, and dates
  • Next by thread: Re: Intel, Read/Write, and dates
  • Index(es):
    • Date
    • Thread