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


Syntax:        L_TIME12(<expC>)


Purpose:       To convert a 24hr time string into 12hr time string.


Arguments:     <expC> is the 24hr time string to be converted.


Returns:       A character string in 12hr time string format.


Usage:         To display or print 24hr time strings in the 12hr clock
               format.


Examples:      ? L_TIME12("00:01:00")           && Result: 12:01 am

               ? L_TIME12("09:01:00")           && Result: 9:01 am

               ? L_TIME12("12:01:00")           && Result: 12:01 pm

               ? L_TIME12("23:59:59")           && Result: 11:59 pm


Language:      Clipper

See Also: L_DMYSTR()

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