35#ifndef _POSIX_C_SOURCE
36#define _POSIX_C_SOURCE 200112L
50 setenv(
"TZ",
"GMT0", 1);
void clear_timezone()
Reset our process local timezone environment to GMT0.
void set_year(int year)
Set the time in seconds since the system Epoch.
void set_date_year_str(const char *date_year)
Set the date and year from a C string.
void set_date(int month, int day)
Set the time in seconds since the system Epoch.
static bool string_to_date(const std::string &sdate, int *year, int *month, int *day)
Converts a (user-provided) string "Mmm dd, yyyy" to date.