note 84157 added to function.gmmktime

From: Date: Tue, 01 Jul 2008 12:59:28 +0000
Subject: note 84157 added to function.gmmktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-141035@lists.php.net to get a copy of this message
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... ---- Server IP: 92.48.74.199 Probable Submitter: 81.137.71.201 ---- Manual Page -- http://www.php.net/manual/en/function.gmmktime.php Edit -- https://master.php.net/note/edit/84157 Del: integrated -- https://master.php.net/note/delete/84157/integrated Del: useless -- https://master.php.net/note/delete/84157/useless Del: bad code -- https://master.php.net/note/delete/84157/bad+code Del: spam -- https://master.php.net/note/delete/84157/spam Del: non-english -- https://master.php.net/note/delete/84157/non-english Del: in docs -- https://master.php.net/note/delete/84157/in+docs Del: other reasons-- https://master.php.net/note/delete/84157 Reject -- https://master.php.net/note/reject/84157 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141035) next »