SecsToDate (LabVIEW Manager Function)
- Updated2025-01-28
- 1 minute(s) read
SecsToDate (LabVIEW Manager Function)
void SecsToDate(secs, dateRecordP);
Purpose
Converts the seconds since 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00] into a data structure containing numerical information about the date, including the year ( 1600 through 3000), the month ( 1 through 12), the day of the year ( 1 through 366), the day of the month ( 1 through 31), the day of the week ( 1 through 7), the hour ( 0 through 23), the minute ( 0 through 59), and the second ( 0 through 59), and a value indicating whether the time specified uses daylight savings time.
Parameters
Name | Type | Description |
---|---|---|
secs | uInt32 | Seconds since 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00]. |
dateRecordP | DateRec * | Pointer to a DateRec structure. SecsToDate stores the converted date in the fields of the date structure referred to by dateRecordP. This parameter is a pointer. |