Skip to content

SetTime

Set system time

Declaration

Source position: dosh.inc line 93

  procedure SetTime(hour: Word; minute: Word; second: Word; sec100: Word);

Description

SetTime sets the system's internal clock. The Hour parameter is on a 24-hour time scale.

Remark

On a Linux machine, there must be root privileges, otherwise this routine will do nothing. On other Unix systems, this call currently does nothing. !!!

Errors

None.

See also

Name Description
GetTime Return the current time
SetDate Set system date