Doc #65605 [Opn->Csd]: Problem with definition, what return strtotime

From: Date: Tue, 03 Sep 2013 08:23:12 +0000
Subject: Doc #65605 [Opn->Csd]: Problem with definition, what return strtotime
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10235@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65605&edit=1 ID: 65605 User updated by: jiri dot kapinus at gmail dot com Reported by: jiri dot kapinus at gmail dot com Summary: Problem with definition, what return strtotime -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: irrelevant PHP Version: Irrelevant Block user comment: N Private report: N New Comment: This is not error. I'm sorry, my mistake. The real error with UNIX timestamp is described in post called Possible problems with the UNIX timestamp. Previous Comments: ------------------------------------------------------------------------ [2013-09-03 08:22:34] jiri dot kapinus at gmail dot com This is not error. I'm sorry, my mistake. The real error with UNIX timestamp is described in post called Possible problems with the UNIX timestamp. ------------------------------------------------------------------------ [2013-09-02 19:41:05] jiri dot kapinus at gmail dot com Description: ------------ In your definition of ,,strtotime" is written: the number of seconds since January 1 1970 00:00:00 UTC But declared time format 01/01/1970 00:00:00 UTC is not exact, because strtotime returns the number of seconds since 01/01/1970 00:00:00 IN YOUR TIME ZONE. Somebody can think, that he must convert this value to his timezone, because 01/01/70 00:00:00 UTC = 01/01/70 01:00:00 in Prague (where is UTC +1, or UTC +2). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65605&edit=1

« previous php.doc.bugs (#10235) next »