Re: Time Conversion Problem

2008-01-17 Thread Sarah Reichelt
> I am reading a file that contains date and time data. The Date/Time > is represented as a 4 byte integer and is defined as the number of > seconds since 1/1/1904 (Apple Date/Time format). Does anyone know if > there is a way to convert this to a displayable format, e.g. > "Thursday, January 17, 2

Re: Time Conversion Problem

2008-01-17 Thread Ian Wood
From the docs: 'The seconds function returns the total number of seconds since midnight, January 1, 1970 GMT.' In theory, you can work out the number of seconds from 1904 to 1970. Then take this away from the Apple seconds to to get 'Rev seconds'. Once it's in that format you can use the c

Time Conversion Problem

2008-01-17 Thread Dave
Hi All, I am reading a file that contains date and time data. The Date/Time is represented as a 4 byte integer and is defined as the number of seconds since 1/1/1904 (Apple Date/Time format). Does anyone know if there is a way to convert this to a displayable format, e.g. "Thursday, January