#34348 [Opn->Csd]: Confusing "timestamp" parameter in strptime()

From: Date: Fri, 02 Sep 2005 16:40:04 +0000
Subject: #34348 [Opn->Csd]: Confusing "timestamp" parameter in strptime()
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369838@lists.php.net to get a copy of this message
ID: 34348 Updated by: nlopess@php.net Reported By: dallas@php.net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Non-Windows PHP Version: Irrelevant New Comment: Yes, it was confusing. I've fixed it, thanks. Previous Comments: ------------------------------------------------------------------------ [2005-09-02 17:31:45] dallas@php.net Description: ------------ The document of strptime() function using the following define: array strptime ( string timestamp, string format ) timestamp (string) A timestamp (e.g. returned from strftime()) However, "timestamp" here is not actually a timestamp(seconds since Unix Epoch). It's a string value likely returned from strftime(). Maybe changing "timestamp" to another less confusing word is a good idea. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34348&edit=1

« previous php.doc (#969369838) next »