Admin Production ni-theme
Current Publication

GetSystemDate

LabWindows/CVI

GetSystemDate

int GetSystemDate (int *month, int *day, int *year);

Purpose

Gets the system date in numeric format.

(Linux) This function is not supported.

Parameters

Output
Name Type Description
month int The month component of the date.

Values
1—January
2—February
3—March
4—April
5—May
6—June
7—July
8—August
9—September
10—October
11—November
12—December
day int The day component of the date.

Values: 1 to 31
year int The year component of the date.

Return Value

Name Type Description
result int The result of the call.

Code Description
0 Success.
-1 Operating system reported failure.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Example

Refer to userint\colview.cws for an example of using the GetSystemDate function.