Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>time()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 TIME()
 Return the system time
------------------------------------------------------------------------------
 Syntax

     TIME() --> cTimeString

 Returns

     TIME() returns the system time as a character string in the form
     hh:mm:ss.  hh is hours in 24-hour format, mm is minutes, and ss is
     seconds.

 Description

     TIME() is a time function that displays the system time on the screen or
     prints it on a report.  TIME() is related to SECONDS() which returns the
     integer value representing the number of seconds since midnight.
     SECONDS() is generally used in place of TIME() for time calculations.

 Examples

     .  These examples show the results of TIME() used with SUBSTR()
        to extract the hour, minutes, and seconds digits:

        ? TIME()                       // Result: 10:37:17
        ? SUBSTR(TIME(), 1, 2)         // Result: 10
        ? SUBSTR(TIME(), 4, 2)         // Result: 37
        ? SUBSTR(TIME(), 7, 2)         // Result: 17

 Files:  Library is CLIPPER.LIB.

See Also: DATE() SECONDS() SUBSTR()

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