note 3645 modified in date by ronabop

From: Date: Fri, 01 Sep 2000 04:26:03 +0000
Subject: note 3645 modified in date by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3871@lists.php.net to get a copy of this message
Safety Tip: If you want to only do manipulations on time, do not use this function, because it will adjust to local time. Like: $thetime=date("H:i:s",86400); ...where 86400 is the number of seconds in a day. If you expect 1/2/70 12:00am, you will not be correct unless you live in the UK. The correct function here will be: gmdate("H:i:s",86400); http://www.php.net/manual/function.date.php

« previous php.notes (#3871) next »