help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

SetDate

Set system date

Declaration

Source position: dosh.inc line 97

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505