Advert
Set timezone in .htaccess for PHP
To set the timezone in .htaccess you can use the following code: php_value date.timezone...
Read Morestrtotime with UK date
Had a problem today where using strtotime was not working with UK Dates DD/MM/YY Using the following code though fixed it: $date =...
Read MoreWarning: strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function
Getting this in a PHP site I am writing, to fix add this to a common include on your PHP...
Read MorePHP Format DateTime for MySql
Was adding a date from a service to MySql using PHP and needed something to convert the PHP string into something MySql could use for a...
Read More