SetSystemDate
int SetSystemDate (int month, int day, int year);
Purpose
Sets the system date.
(Linux) This function is not supported.
![]() |
Note You must have system administrator status to use this function. |
Parameters
Input | ||
Name | Type | Description |
month | int | The month in local calendar time. Valid values are 1 (January) to 12 (December). |
day | int | The date of the month in local calendar time. Valid values are 1 to 31. |
year | int |
The year in local calendar time. Values before the year 1970 are not supported on Linux or in applications running on an RT target. Values before the year 1601 are not supported on Windows operating systems. |
Return Value
Name | Type | Description | ||||||
result | int | The result of the call.
|
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later