|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-08-03 11:24 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
webuser@poe ~ $ ../cgi/php -v 3.0.2a webuser@poe ~ $ ../cgi/php <?php $timeout = mktime(date("s"), date("i"), date("H"), date("m"), date("d"), date("Y")); $sqldate = date("YmdHis", $timeout-1440*60); print $sqldate; Content-type: text/html 19980802025317 $timeout = mktime(date("s"), date("i"), date("H"), date("m"), date("d"), date("Y")); $sqldate = date("YmdHis", $timeout-1440*60); print $sqldate; 19980802055317 webuser@poe ~ $ date Sun Aug 2 17:53:32 MET DST 1998 As you can see, I coded YmdHis, but I get YmdsiH. How come?