seconds to standard time numberformat?
Ken Ray
kray at sonsothunder.com
Fri Aug 22 11:36:25 EDT 2003
There isn't one (although having a "convert <x> to HMS" would be nice), but
you can do it by converting the seconds to dateItems, and then taking items
4 to 6 (which are the hours, minutes and seconds), and padding them with
zeroes if they are less than 10 and then finally concatenating them together
with ":"s.
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
> From: Mark Swindell <mdswindell at charter.net>
> Reply-To: use-revolution at lists.runrev.com
> Date: Fri, 22 Aug 2003 07:35:33 -0700
> To: use-revolution at lists.runrev.com
> Subject: seconds to standard time numberformat?
>
> Is there a numberformat or other option that will display seconds in
> standard 00:00:00 format?
>
> I've got a "send to me in 1 second...add 1 to field theTime" scenario
> going on a project, and would like the result to display in standard
> form, rather than raw seconds. What's the most efficient way to make
> this happen?
>
> Thanks
> Mark
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list