Searched refs:parsed_time (Results 1 – 2 of 2) sorted by relevance
/PHP-8.2/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-8.2/ext/date/ |
H A D | php_date.c | 1034 timelib_time *parsed_time; in php_parse_date() local 1041 timelib_time_dtor(parsed_time); in php_parse_date() 1046 timelib_update_ts(parsed_time, NULL); in php_parse_date() 1048 timelib_time_dtor(parsed_time); in php_parse_date() 2992 if (parsed_time->us == TIMELIB_UNSET) { in php_date_do_return_parsed_time() 3004 if (parsed_time->is_localtime) { in php_date_do_return_parsed_time() 3006 switch (parsed_time->zone_type) { in php_date_do_return_parsed_time() 3012 if (parsed_time->tz_abbr) { in php_date_do_return_parsed_time() 3015 if (parsed_time->tz_info) { in php_date_do_return_parsed_time() 3026 if (parsed_time->have_relative) { in php_date_do_return_parsed_time() [all …]
|
Completed in 30 milliseconds