note 84157 deleted from function.gmmktime by tularis

From: Date: Tue, 01 Jul 2008 15:05:41 +0000
Subject: note 84157 deleted from function.gmmktime by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141040@lists.php.net to get a copy of this message
Note Submitter: Ash ---- Depending on the timezone, i generally avoid gm dates where possible. and attempt to use Date() with strtotime() or mktime(). with +X hour, or -X hour which will correct the time for the timezones (as all dates are still stored as gmt 0). I realise some timezones differ by 30 minutes or 45 minutes, but my little function i use can be changed, works fine. Nonetheless @Greg, the mktime, time and strtotime functions all return the same values, gmmktime will differ should the server be running at EST, or BST...

« previous php.notes (#141040) next »