xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

SetTime()

Changes the system time from a Time string.

Syntax

SetTime( <cTime> ) --> lSuccess

Arguments

<cTime>
A Time() formatted character string specifying the new system time (hh:mm:ss).

Return

The function returns .T. (true) when the system time is successfully changed, otherwise .F. (false) is returned.

Info

See also:SetDate(), SetNewTime(), Time()
Category: CT:DateTime , Date and time
Source:ct\dattime3.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe