|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-08-09 18:10 UTC] ash at theleys dot net
Description:
------------
date('U') returns %ld not unix timestamp
Straight CGI (Fast CGI), ini set by installer, unchanged otherwise, worked under 5.04
Reproduce code:
---------------
<?php
echo date('U');
?>
Expected result:
----------------
Unix timestamp, not, what looks like, an uninterpreted sprintf
Actual result:
--------------
%ld
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Hi, have tried snapshot. Still same. date('u') on PHP 4.3 still works (on another server) on IIS6 (so Windows Server 2003). Thanks for looking in to this, Alan