Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_sec2hms()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_SEC2HMS()


Syntax:        L_SEC2HMS(<expN1> [,<expN2>])


Purpose:       To convert a number of seconds to a character time
               string.


Arguments:     <expN1> is the number of seconds to be converted.

               <expN2> is the optional number of characters in which
               the hours is to be returned.


Returns:       A character time string representing the number of
               seconds.

               CHR(0) is returned if Syntax Error has occurred.


Examples:      * Calculate time string
               ? L_SEC2HMS(144615)              && Result: 40:10:15
               ? L_SEC2HMS(144615,4)            && Result: 0040:10:15
               ? L_SEC2HMS(1440615)             && Result: 400:10:15


Language:      Clipper

See Also: L_SEC2DYS() L_SEC2HRS() L_SEC2MIN()

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