DateToSecs (LabVIEW Manager Function)
- 更新时间2025-07-30
- 阅读时长2分钟
uint32 DateToSecs(dateRecordP);
Purpose
Converts from a time described using the DateRec data structure to the number of seconds since 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00].
Parameters
| Name | Type | Description |
|---|---|---|
| dateRecordP | DateRec * | Pointer to a DateRec structure. DateToSecs stores the converted date in the fields of the date structure referred to by dateRecordP. This parameter is a pointer. |
Return Value
The corresponding number of seconds since 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00].