ID:               39373
 User updated by:  djhobson at bigpond dot net dot au
 Reported By:      djhobson at bigpond dot net dot au
 Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Win XP SP 2 - Latest Patches
 PHP Version:      5.2.0
 New Comment:

Hey Derek!

Would you not think this is wise to put this into your documentation to
alert window users of such circumstances with the current C libraries
they may have installed on their systems?


Previous Comments:
------------------------------------------------------------------------

[2006-11-04 11:10:29] djhobson at bigpond dot net dot au

OIC Now!!! k, thanks derek, please ignore this post and I will repost
on my later findings.  Thank you!

------------------------------------------------------------------------

[2006-11-04 11:04:35] djhobson at bigpond dot net dot au

Read 2nd paragraph of strftime() and results are the same! 

THIS IS A MAJOR BUG!

------------------------------------------------------------------------

[2006-11-04 10:28:25] [EMAIL PROTECTED]

Please read the 2nd paragraph of:
http://no2.php.net/strftime

------------------------------------------------------------------------

[2006-11-04 10:12:55] djhobson at bigpond dot net dot au

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!



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39373&edit=1

Reply via email to