Aegis  4.25.D505
Functions
Date

Date and time manipulation. More...

Functions

time_t date_scan (const char *)
const char * date_string (time_t)
time_t now (void)
void now_set (time_t)
void now_clear (void)
void now_unclearable (void)
time_t time_max (void)
double dtime ()

Detailed Description

Date and time manipulation.


Function Documentation

time_t date_scan ( const char *  )
const char* date_string ( time_t  )
double dtime ( )

The dtime function may be used to obtain the current time, to sub-second precision.

time_t now ( void  )

The now function is used to get the current time. It resturns a consistent result no matter how long the program has been running.

void now_clear ( void  )

The time_clear function is used to reset the program's idea of the current time.

void now_set ( time_t  )

The now_set function is used to set the programs idea of the current time. All future calls to now() will return this value.

void now_unclearable ( void  )

The now_unclearable function is used by aeimport to tell now_clear that it isn't to do anything. Otherwise aeimport can't backdate the project statrt (etc).

time_t time_max ( void  )

The time_max function is used to determine the value of the largest positive value a time_t variable may assume.