Unit 'Dos' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#rtl]

SetDate

Set system date.

Declaration

Source position: dosh.inc line 92

procedure SetDate(

  year: Word;

  month: Word;

  day: Word

);

Description

SetDate sets the system's internal date. Year is a number between 1980 and 2099.

Remark: On a Unix 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

GetDate

  

Get the current date.

SetTime

  

Set system time.


Documentation generated on: Oct 27 2024