SETTIM

Run-Time Function: Sets the system time in your programs.

Module: USE DFLIB

Syntax

result = SETTIM (ihr, imin, isec, i100th)

ihr
(Input) INTEGER(2). Hour (0 - 23).


imin
(Input) INTEGER(2). Minute (0 - 59).


isec
(Input) INTEGER(2). Second (0 - 59).


i100th
(Input) INTEGER(2). Hundredth of a second (0 - 99).

Results:

The result is of type LOGICAL(4). The result is .TRUE. if the system time is changed; .FALSE. if no change is made.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: GETDAT, GETTIM, SETDAT

Example

 USE DFLIB
 LOGICAL(4) success
 success = SETTIM(INT2(21),INT2(53+3),&
                  INT2(14*2),INT2(88))
 END