note 113317 deleted from function.date by aharvey

From: Date: Thu, 26 Sep 2013 16:50:03 +0000
Subject: note 113317 deleted from function.date by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196383@lists.php.net to get a copy of this message
Note Submitter: ben at indietorrent dot org ---- The example that demonstrates the use of a constant appears to be inaccurate: <?php /* use the constants in the format parameter */ // prints something like: Mon, 15 Aug 2005 15:12:46 UTC echo date(DATE_RFC822); ?> This actually prints something like the following: Wed, 25 Sep 13 17:56:44 -0400 (notice that the last segment is the timezone *offset*, not the timezone abbreviation, as the comment in the example states). However, the manual entry is correct (only the example is incorrect).

« previous php.notes (#196383) next »