time anomaly

Brian Yennie briany at qldlearning.com
Fri Aug 19 15:41:30 EDT 2005


This is a guess, but I believe it would be because:

"The seconds function returns the total number of seconds since 
midnight, January 1, 1970 GMT"

Assuming your timezone is at GMT-5 hours, you are seeing 54 seconds 
past January 1, 1970 GMT, otherwise known as December 31, 1969 @ 
19:00:54

HTH,
Brian

> Any idea why this code produces "19:00:54" instead of "54"? I do have 
> twelveHourTime set to false, but...
>
> on mouseUp
>  local t
>  put 54 into t
>  convert t to long time
>  answer t
> end mouseUp




More information about the use-livecode mailing list