PHP date_default_timezone_set(): Set default time zone UTC Aner Barrena October 12, 2020 Date functions in PHP, PHP & MySQL New post to review the function of PHP date_default_timezone_set() that sets the default time zone. (more…)...
PHP date_default_timezone_get(): Get default time zone UTC Aner Barrena October 12, 2020 Date functions in PHP, PHP & MySQL When we are working with dates in PHP we always have to consider if the time zone of the system is correct. To obtain this information we have the function of PHP date_default_timezone_get() that will return a ...