converting seconds to days and back again
dsc at swcp.com
Tue Apr 27 11:38:07 CDT 2004
On Tuesday, April 27, 2004, at 10:29 AM, Chris Sheffield wrote:
> So say I have "the seconds" saved to some file. If I read that in and
> the number of seconds that have passed, how can I convert that to the
> of days? Is there a way? I'm probably just missing the obvious.
Divide by the number of seconds in a day (60 X 60 X 24). Depending on
your usage you may want to round or truncate.
More information about the use-livecode