wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Time/GetLinuxTime

Version 1 (modified by Don Wilson, 14 years ago) ( diff )

--

GetLinuxTime

Reads the OPI board clock into the g_datetime structure.

void GetLinuxTime(void);

Parameters

This function does not accept any parameters.

Return Value

This function does not return any result.

Remarks

The IsTimeChanged function copies the current time into the g_datetime structure only when the time is changed so it is more efficient to use IsTimeChanged instead of this function.

Examples

GetLinuxTime();
DisplayText(0, 0, GetTimeStr(1));

See Also

Note: See TracWiki for help on using the wiki.