Declaration of the DateTime functions, datetime_to_string() and datetime_now(), to simplify getting the local time as a string. More...
#include <time.h>
Go to the source code of this file.
Macros | |
#define | __DATETIME_H__ |
Functions | |
const char * | datetime_to_string (time_t timestamp) |
Convert the specified time stamp to a string. | |
time_t | datetime_now (void) |
Retrieve a time stamp that represents the current time. | |
Declaration of the DateTime functions, datetime_to_string() and datetime_now(), to simplify getting the local time as a string.
Definition in file helpers/DateTime.h.
#define __DATETIME_H__ |
Definition at line 8 of file helpers/DateTime.h.
time_t datetime_now | ( | void | ) |
Retrieve a time stamp that represents the current time.
Definition at line 27 of file datetime.c.
Referenced by _ConstructTree(), and _GetTimeStamp().
const char * datetime_to_string | ( | time_t | timestamp | ) |
Convert the specified time stamp to a string.
timestamp | A time_t value representing the time stamp. |
Definition at line 12 of file datetime.c.
References makelocaltime().
Referenced by _GetTimeStamp(), and Composite_Exercise_FormatEntry().