note 74911 deleted from function.date by danbrown

From: Date: Sun, 20 Jul 2008 02:49:12 +0000
Subject: note 74911 deleted from function.date by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141990@lists.php.net to get a copy of this message
Note Submitter: fokeyjoe at themotto dot co dot uk ---- Another method for getting close to ISO8601 using PHP4 (should cover all versions). This format gets you compliant RDF/RSS feed dates: $sISO8601=date('Y-m-d\Th:i:s',$nTimestamp). substr_replace(date('O',$nTimestamp),':',3,0); The main limitation I'm aware of is the non-compliant year around new year.

« previous php.notes (#141990) next »