Having previously shown you a useful way of quickly converting a timestamp into a formatted date string, here’s a quick way of actually getting a date/time in a time zone that you actually want – and again we turn to… Continue Reading →
Some older machines suffer from a system clock that systematically loses time, resulting in your operating system, in this case Ubuntu, displaying the incorrect time and in the process causing you to be late for all you carefully scheduled appointments,… Continue Reading →
From PHP 5.1 onwards, you have been able to define the default time zone which is to be used in PHP regardless of what time zone the server or Apache might be using. To do this requires some minor adjustments to your php.ini config file.
If you wish to explicitly set the time zone for your MySQL running on an Ubuntu Server, here is how to do it.
It is often quite useful to be able to change the time zone on your Ubuntu server and to do so has become particularly simple. Now that the original command, tzconfig has been deprecated, we turn to the new option: