Testing strtotime()..

From: Date: Mon, 19 Jun 2000 22:43:57 +0000
Subject: Testing strtotime()..
Groups: php.dev 
Request: Send a blank email to php-dev+get-21782@lists.php.net to get a copy of this message
This script: <?php echo strtotime("Fri, Jun 16 2000 16:51:15 GMT-0500") ."<br>"; echo strtotime("Fri, Jun 16 2000 16:51:15 GMT -0500") ."<br>"; echo strtotime("Fri, Jun 16 2000 16:51:15 -0500") ."<br>"; echo strtotime("Fri, 16 Jun 2000 16:51:15 GMT-0500") ."<br>"; echo strtotime("Fri, 16 Jun 2000 16:51:15 GMT -0500") ."<br>"; echo strtotime("Fri, 16 Jun 2000 16:51:15 -0500 GMT") ."<br>"; echo strtotime("Fri, 16 Jun 2000 16:51:15 -0500 (GMT)") ."<br>"; ?> Output with PHP4-cvs (latest..about 10 minutes ago): -1 -1 -1 -1 -1 -1 961192275 And output with PHP3.0.14: -1 -1 -1 961192275 961192275 961174275 961192275 Just thought you'd like to know.. --Jani

« previous php.dev (#21782) next »