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

Name Description
GetDate Get the current date
SetTime Set system time