Changes between Version 4 and Version 5 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Time/GetLinuxTime


Ignore:
Timestamp:
02/01/21 09:38:44 (4 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Time/GetLinuxTime

    v4 v5  
    1212== Return Value ==
    1313
    14 This function returns a time_t value. time_t is an integer number of seconds since January 1, 1970 midnight. This can be useful to store date/time values in a database using this integer to facilitate indexing and sorting.
     14This function sets the global g_datetime structure based on the current Linux time. This function also returns a time_t value. time_t is an integer number of seconds since January 1, 1970 midnight. This can be useful to store date/time values in a database using this integer to facilitate indexing and sorting.
    1515
    1616== Remarks ==
     
    2525}}}
    2626
     27{{{
     28time_t now = GetLinuxTime();
     29// Now is an integer seconds since January 1, 1970 midnight
     30}}}
    2731
    2832== See Also ==