Get timezone information
Get timezone information from system settings
#include <system_settings.h>
#include <dlog.h> // for logging purposes
void
check_timezone() {
char *value;
int ret;
ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE, &value);
if(ret == SYSTEM_SETTINGS_ERROR_NONE)
LOGI("Timezone: %s", value);
}