Searched refs:parsed_time (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/standard/ |
H A D | datetime.c | 77 struct tm parsed_time; in PHP_FUNCTION() local 85 memset(&parsed_time, 0, sizeof(parsed_time)); in PHP_FUNCTION() 87 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION() 93 add_assoc_long(return_value, "tm_sec", parsed_time.tm_sec); in PHP_FUNCTION() 94 add_assoc_long(return_value, "tm_min", parsed_time.tm_min); in PHP_FUNCTION() 95 add_assoc_long(return_value, "tm_hour", parsed_time.tm_hour); in PHP_FUNCTION() 96 add_assoc_long(return_value, "tm_mday", parsed_time.tm_mday); in PHP_FUNCTION() 97 add_assoc_long(return_value, "tm_mon", parsed_time.tm_mon); in PHP_FUNCTION() 98 add_assoc_long(return_value, "tm_year", parsed_time.tm_year); in PHP_FUNCTION() 99 add_assoc_long(return_value, "tm_wday", parsed_time.tm_wday); in PHP_FUNCTION() [all …]
|
/php-src/ext/date/ |
H A D | php_date.c | 1061 timelib_time *parsed_time; in php_parse_date() local 1068 timelib_time_dtor(parsed_time); in php_parse_date() 1073 timelib_update_ts(parsed_time, NULL); in php_parse_date() 1075 timelib_time_dtor(parsed_time); in php_parse_date() 3112 if (parsed_time->us == TIMELIB_UNSET) { in php_date_do_return_parsed_time() 3124 if (parsed_time->is_localtime) { in php_date_do_return_parsed_time() 3126 switch (parsed_time->zone_type) { in php_date_do_return_parsed_time() 3132 if (parsed_time->tz_abbr) { in php_date_do_return_parsed_time() 3135 if (parsed_time->tz_info) { in php_date_do_return_parsed_time() 3146 if (parsed_time->have_relative) { in php_date_do_return_parsed_time() [all …]
|
Completed in 393 milliseconds