Hi all,

Something realy odd is going on:

check this:

<?php
// returns the current time in millis.. is working correct
echo "" . time() . "<br>";

// SHOULD return the time in the format HH:MM:SS -- Is NOT working... "echo"
returns empty string???
echo "" . strftime("%T", time()) . "<br>";

// Works fine - get the time in the form HH:MM:SS
echo "" . strftime("%H:%M:%S", time()) . "<br>";

// SHOULD print RDT or CET or EST but i ONLY get the string "Romance
Daylight Time" ??
echo "" . strftime("%Z", time()) . "<br>";
?>

Can somebody please tell me what is wrong?

I use Windows NT 4.0 with SP 6.1a, IIS 4.0 and PHP 4.0.6 (latest version).

Thanks advance,

Arjen van Efferen
(NL)



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to