Browsing articles in "Date & Time"
Feb
28
2011
28
2011
Set timezone in .htaccess for PHP
Article on how to set the timezone in the htaccess file for PHP
Sep
30
2010
30
2010
Date & Time // PHP
Warning: 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 page: date_default_timezone_set(‘UTC’);
Jul
19
2010
19
2010
PHP 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 DateTime field. This worked a treat: $reviewDateSql = date(‘Y-m-d H:i:s’,strtotime(“$reviewDate”));
Tech Cloud
0x800A1391
2003 Server
adwords
adwords editor
Amazon
Apache
APC
Axigen
Backup
CentOS
Date
EC2
error 211
Error 1907
Fedora
google
Google Sitemap Generator
htaccess
HTML5
httpd.conf
iphone
Jira
mail
mailx
mkfs
MSSQL
MySql
MySql Server
Nutch
Office 2007
PHP
Rackspace Cloud
S3
Solr
strtotime
Subversion
Time
Tomcat
URL Rewrite
virus
vsftpd
Website Optimiser
Wordpress
XML
Zend

An article by medialam