[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'oldlinux' (#rtl) |
Set the current system date and time
Source position: oldlinux.pp line 1327
function SetDateTime( |
Year: Word; |
Month: Word; |
Day: Word; |
hour: Word; |
minute: Word; |
second: Word |
):Boolean; |
SetDate sets the system date and time to year, month, day, hour, min, Sec. This is the kernel date/time, so it is in GMT. The time is not touched. The function returns True if the call was executed corretly, False otherwise.
Remark: | You must be root to execute this call. |
Errors are returned in LinuxError
|
Set the current system date. |
|
|
Set the current system time. |
|
|
Return system date and time |
No notes exist for this page yet.