Home
last modified time | relevance | path

Searched refs:gmt_offset (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/date/lib/
H A Dunixtime2tm.c122 timelib_time_offset *gmt_offset; in timelib_unixtime2local() local
140 gmt_offset = timelib_get_time_zone_info(ts, tz); in timelib_unixtime2local()
141 timelib_unixtime2gmt(tm, ts + gmt_offset->offset); in timelib_unixtime2local()
145 tm->dst = gmt_offset->is_dst; in timelib_unixtime2local()
146 tm->z = gmt_offset->offset; in timelib_unixtime2local()
150 timelib_time_offset_dtor(gmt_offset); in timelib_unixtime2local()
193 timelib_time_offset *gmt_offset; in timelib_set_timezone() local
196 t->z = gmt_offset->offset; in timelib_set_timezone()
203 t->dst = gmt_offset->is_dst; in timelib_set_timezone()
208 t->tz_abbr = timelib_strdup(gmt_offset->abbr); in timelib_set_timezone()
[all …]
/php-src/ext/date/
H A Dphp_date.c5449 double latitude, longitude, zenith, gmt_offset, altitude; in php_do_date_sunrise_sunset() local
5466 Z_PARAM_DOUBLE_OR_NULL(gmt_offset, gmt_offset_is_null) in php_do_date_sunrise_sunset()
5504 gmt_offset = timelib_get_current_offset(t) / 3600; in php_do_date_sunrise_sunset()
5518 N = (calc_sunset ? h_set : h_rise) + gmt_offset; in php_do_date_sunrise_sunset()

Completed in 28 milliseconds