Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - tstom(<c time string>) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 TSTOM(<C time string>)
 Converts a time string to minutes.
 Returns <expN> number of minutes that equal <time string>.

 <time string> is in the format "HH:MM:SS",
 the same as returned by the TIME() function.

 Useful in applications that handle time by minutes.

 * How many minutes have elapsed since midnight?
 mins_today = TSTOM( TIME() )

 * How many minutes did an operation take?
 start_time = TIME()
 <operation to be timed>
 end_time = TIME()

 * Elapsed time in minutes
 mins_time = TSTOM(end_time) - TSTOM(start_time)


             Placed in the Public Domain by Tom Rettig Assoc.

See Also: MTOSS() SSTOM() TIMESTR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson