|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-04 10:28 UTC] derick@php.net
[2006-11-04 11:04 UTC] djhobson at bigpond dot net dot au
[2006-11-04 11:10 UTC] djhobson at bigpond dot net dot au
[2006-11-04 11:14 UTC] djhobson at bigpond dot net dot au
[2006-11-04 11:20 UTC] djhobson at bigpond dot net dot au
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 04:00:02 2025 UTC |
Description: ------------ strftime() is failing to output the designated results as given to the specified online PHP documents. Reproduce code: --------------- Script Name:- gettime.php Script contents:- <?php $time = 1162623699; $date = strftime("%D", $time); $theclock = strftime("%T", $time); $currenttime = $date." ".$theclock; echo $currenttime."\r\n"; exit; ?> Output:- Y:\>php gettime.php Y:\> PS: I see there is already a post in regards to %T output, but %D is the same! Expected result: ---------------- Expected results from online & current downloadable documentation is that from the given code I should see something like:- %D - same as %m/%d/%y %T - current time, equal to %H:%M:%S Simply, NOT HAPPENING MAN!