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 convert function to get many different formats.

Ian

On 17 Jan 2008, at 13:36, Dave wrote:

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 17, 2008 1:35 PM". If there isn't a way of doing this in RunRev, does anyone know how to go about doing this?

Thanks a lot
All the Best
Dave

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to