| | 1 | = GetLinuxTime = |
| | 2 | Reads the OPI board clock into the g_datetime structure. |
| | 3 | |
| | 4 | {{{ |
| | 5 | void GetLinuxTime(void); |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | This function does not accept any parameters. |
| | 11 | |
| | 12 | == Return Value == |
| | 13 | |
| | 14 | This function does not return any result. |
| | 15 | |
| | 16 | == Remarks == |
| | 17 | |
| | 18 | 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. |
| | 19 | |
| | 20 | == Examples == |
| | 21 | |
| | 22 | {{{ |
| | 23 | GetLinuxTime(); |
| | 24 | DisplayText(0, 0, GetTimeStr(1)); |
| | 25 | }}} |
| | 26 | |
| | 27 | |
| | 28 | == See Also == |
| | 29 | |
| | 30 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Time/IsTimeChanged IsTimeChanged] |
| | 31 | |