note 70878 added to function.strftime
| From: | denis at spiralsolutions dot com | Date: | Thu, 02 Nov 2006 08:07:14 +0000 |
| Subject: | note 70878 added to function.strftime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119311@lists.php.net to get a copy of this message | ||
(in addition to Andy's post)
To get a RFC 2822 date (used in RSS) of the current local time :
echo strftime ("%a, %d %b %Y %H:%M:%S %z") ;
Note: option %z / %Z - work different on Windows platform, for example
output of this code line can be:
Thu, 02 Nov 2006 09:54:59 Jerusalem Standard Time (on Windows)
Thu, 02 Nov 2006 09:54:59 +0200 (on Linux)
----
Server IP: 64.71.164.2
Probable Submitter: 207.232.39.2
----
Manual Page -- http://www.php.net/manual/en/function.strftime.php
Edit -- https://master.php.net/note/edit/70878
Del: integrated -- https://master.php.net/note/delete/70878/integrated
Del: useless -- https://master.php.net/note/delete/70878/useless
Del: bad code -- https://master.php.net/note/delete/70878/bad+code
Del: spam -- https://master.php.net/note/delete/70878/spam
Del: non-english -- https://master.php.net/note/delete/70878/non-english
Del: in docs -- https://master.php.net/note/delete/70878/in+docs
Del: other reasons-- https://master.php.net/note/delete/70878
Reject -- https://master.php.net/note/reject/70878
Search -- https://master.php.net/manage/user-notes.php