Admin Production ni-theme
Current Publication

CVIAbsoluteTimeToCVIANSITime

LabWindows/CVI

CVIAbsoluteTimeToCVIANSITime

int CVIAbsoluteTimeToCVIANSITime (CVIAbsoluteTime absoluteTime, time_t *CVIANSITime);

Purpose

Converts an absolute time value to a LabWindows/CVI ANSI C time value.

Parameters

Input
Name Type Description
absoluteTime CVIAbsoluteTime An absolute time value in National Instruments Binary Time Format.
Output
Name Type Description
CVIANSITime time_t Value in LabWindows/CVI ANSI C time formatLabWindows/CVI ANSI C time format. Note that this value is in Coordinated Universal Time (UTC).

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative value indicates that an error occurred; 0 indicates the function was successful. Use the GetGeneralErrorString function to get a description of the error.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 9.0 and later