[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson