On 22.04.2012 at 21:55 Uhr +0100 Andrew Henshaw apparently wrote:

Using the following simple code today (the 22nd April)..

   put the date into tDate
   convert tDate to seconds
   put tDate

Returns 1335049200

Id expect to get a result of 22nd April, but instead Ive fed that in to a few online UNIX time converters and they all return Sat, 21 Apr 2012 23:00:00 GMT which is an hour into the previous day.

You do not specify the time when setting tDate initially. You might want to set the time like 4 am.

Robert

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to