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


Syntax:        L_ISTIME(<expC>)


Purpose:       To determine if a character string is a valid and
               conforms to the format HH:MM:YY for absolute time or
               valid and conforms to the format for relative time of
               "xxxxH:MM:SS"


Arguments:     <expC> is the character string to be tested.


Returns:       A logical (.T.) if the time string is of format
               HH:MM:YY.
               A logical (.F.) is the time string is not of correct
               format.


Examples:      * Determine if valid times
               ? L_ISTIME("12:12:45")           && Result .T.
               ? L_ISTIME("2:12:45")            && Result .T.
               ? L_ISTIME("1224:12:45")         && Result .T.
               ? L_ISTIME("21:45")              && Result .F.


Language:      Clipper

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