Dates and rounding problem
david at anon.nu
david at anon.nu
Wed Sep 29 08:43:33 EDT 2004
david at anon.nu wrote:
> I get the date rounded to sometimes two, or sometime 3 hours after
> midnight (depending on which date I use). I'm on linux - and i figure
> it is something to do with the locale / timezone, but still - why the
> different rounding errors?
Still don't get why, but can round doing the following:
convert someDate to dateitems
put 0 into item 4 of someDate
convert somedate to seconds
David
More information about the use-livecode
mailing list