note 63659 added to function.strptime

From: Date: Mon, 27 Mar 2006 18:45:03 +0000
Subject: note 63659 added to function.strptime
Groups: php.notes 
Request: Send a blank email to php-notes+get-106773@lists.php.net to get a copy of this message
It says "Parse a time/date generated with strftime()" but that's not entirely correct -- While strptime("2006131", "%Y%W%u") works as expected, strptime("2006131", "%G%V%u") returns false instead of reversing the equivalent - and unambiguous - strftime() usage. I suspect that's because glibc doesn't support that. Anyway, this docu page fails to mention that apparently not all format components supported by strftime() can be used with strptime(). ---- Server IP: 217.160.72.57 Probable Submitter: 87.123.29.190 (proxied: unknown) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.strptime.php Edit -- http://master.php.net/note/edit/63659 Del: integrated -- http://master.php.net/note/delete/63659/integrated Del: useless -- http://master.php.net/note/delete/63659/useless Del: bad code -- http://master.php.net/note/delete/63659/bad+code Del: spam -- http://master.php.net/note/delete/63659/spam Del: non-english -- http://master.php.net/note/delete/63659/non-english Del: in docs -- http://master.php.net/note/delete/63659/in+docs Del: other reasons-- http://master.php.net/note/delete/63659 Reject -- http://master.php.net/note/reject/63659 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106773) next »