C date and time functions
The C date and time functions are a group of functions in the standard library of
the C programming language implementing date and time manipulation
operations.They provide support for time acquisition, conversion between date
formats, and formatted output to strings.
The C date and time operations are defined in the time.h header file
difftime computes the difference in seconds between two time values
returns the current time of the system as a time value, number of
time
seconds
clock returns a processor tick count associated with the process
timespec_get returns a calendar time based on a time base
asctime converts a struct tm object to a textual representation
ctime converts a time value to a textual representation
strftime converts a struct tm object to custom textual representation
strptime converts a string with time information to a struct tm
converts a struct tm object to custom wide string textual
wcsftime
representation
converts a time value to calendar time expressed as Coordinated
gmtime
Universal Time
localtime converts a time value to calendar time expressed as local time
mktime converts calendar time to a timevalue.