2 #ifndef vul_get_timestamp_h_ 3 #define vul_get_timestamp_h_ 18 # include <vcl_msvc_warnings.h> 37 #endif // vul_get_timestamp_h_ format used by std:asctime() e.g. "Fri Dec 8 14:54:17 2006"
vul_time_style
Enum to specify style option for vul_get_time_as_string().
space-separated numbers, most significant first "e.g. 2006 12 08 14 54 17"
std::string vul_get_time_as_string(vul_time_style style=vul_asc)
Get the present time and date as a string, e.g. "Fri Dec 8 14:54:17 2006".
void vul_get_timestamp(int &secs, int &msecs)
purpose: obtain time elapsed since 1 Jan 1970, in seconds and milliseconds.