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_addsecs()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_ADDSECS()


Syntax:        L_ADDSECS(<expN1>, <expC> [,<expN2>])


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


Arguments:     <expN1> is the number of seconds to be added to the
               character time string.

               <expC> is the character time string to which the
               seconds will be added.

               <expN2> is optional and governs the zone width of the
               number of characters in which the hours will be returned.

               <expN2> should be greater than 2


Returns:       A character time string in the format of HH:MM:SS

               CHR(0) is returned if Syntax Error.


Usage:         Default zone width = 2


Examples:      * Calculate seconds
               ? L_ADDSECS(86, "23:10:14",3)      && Result 023:11:40


Language:      Clipper

See Also: L_ADDHOURS() L_ADDMINS() L_ADDTIMES()

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