note 43550 added to function.strftime

From: Date: Fri, 25 Jun 2004 03:27:59 +0000
Subject: note 43550 added to function.strftime
Groups: php.notes 
Request: Send a blank email to php-notes+get-71631@lists.php.net to get a copy of this message
To get a RFC 850 date (used in HTTP) of the current time: gmstrftime ("%A %d-%b-%y %T %Z", time ()); This will get for example: Friday 25-Jun-04 03:30:23 GMT Please note that times in HTTP-headers _must_ be GMT, so use gmstrftime() instead of strftime(). ---- Manual Page -- http://www.php.net/manual/en/function.strftime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43550 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43550&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43550&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#71631) next »