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

         Changes system time

    Syntax:

         SetTime( cNewTime ) -> lError

         cNewTime : A string with the new time

    Description:

         Changes the system hour by the specified hour with this format:
         HH:MM:SS. The opposite operation, is that to say, taking the hour
         of the system could be made with the standard function time().

    Return:

         Returns .T. if the hour is valid and .F. if it isn't.

    Example:

         SetTime ( "17:05:43" )
         If ! SetTime ( "78:99:90" )
           Warning ( "Incorrect time" )
         EndIf

See Also: SetDate()

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