Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

GetSystemDate

LabWindows/CVI 8.5 Help
November 2007

NI Part Number:
370051K-01

»View Product Info

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 integer 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 integer The day component of the date.

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

Return Value

Name Type Description
result integer The result of the call.

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

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit