GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
Go to the source code of this file.
Functions | |
struct tm * | localtime () |
struct tm * | gmtime () |
int | datetime_get_local_timezone (int *minutes) |
Returns: 0 OK -1 local timezone info not available. More... | |
void | datetime_get_local_time (DateTime *dt) |
set mode/from/to ABSOLUTE/YEAR/SECOND set the local time into 'dt' does not set timezone. More... | |
void datetime_get_local_time | ( | DateTime * | dt | ) |
set mode/from/to ABSOLUTE/YEAR/SECOND set the local time into 'dt' does not set timezone.
dt |
Definition at line 87 of file local.c.
References DATETIME_ABSOLUTE, DATETIME_SECOND, datetime_set_day(), datetime_set_hour(), datetime_set_minute(), datetime_set_month(), datetime_set_second(), datetime_set_type(), datetime_set_year(), DATETIME_YEAR, and localtime().
int datetime_get_local_timezone | ( | int * | minutes | ) |
Returns: 0 OK -1 local timezone info not available.
minutes |
Definition at line 33 of file local.c.
References DATETIME_ABSOLUTE, datetime_change_from_to(), DATETIME_DAY, datetime_difference(), DATETIME_MINUTE, DATETIME_RELATIVE, DATETIME_SECOND, datetime_set_day(), datetime_set_hour(), datetime_set_minute(), datetime_set_month(), datetime_set_second(), datetime_set_type(), datetime_set_year(), DATETIME_YEAR, gmtime(), localtime(), DateTime::minute, and DateTime::positive.
struct tm* gmtime | ( | ) |
Referenced by datetime_get_local_timezone().
struct tm* localtime | ( | ) |
Referenced by datetime_get_local_time(), and datetime_get_local_timezone().