note 33045 added to function.mktime

From: Date: Sun, 15 Jun 2003 02:04:48 +0000
Subject: note 33045 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-50357@lists.php.net to get a copy of this message
if server is set different time zone than you need, then: $hour=date(H)-$TIMEDIFFERENCE; // it may be plus also $mtime=mktime($hour,date(i),date(s),date(m),date(d),date(y)); $hour=date(H,$mtime); // displays current hour in your locat. $day=date(D,$mtime);// displays current day of week and so on.. ---- Manual Page -- http://www.php.net/manual/en/function.mktime.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33045 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33045&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33045&report=yes

« previous php.notes (#50357) next »