[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Dos' (#rtl)

SetTime

Set system time

Declaration

Source position: dosh.inc line 89

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

GetTime

  

Return the current time

SetDate

  

Set system date


Documentation generated on: Mar 17 2017