FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » Time question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Time question [message #2244 is a reply to message #2240] Mon, 06 May 2002 17:36 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
Can you please try to following code:


<?php
echo "Normal Date: ".date("Y")."<br>\n";
echo "LOCALE Date: ".strftime("%G")."<br>\n";

echo "<br>\nWith changed TZ<br>\n";

putenv("TZ=America/Catamarca");

echo "Normal Date: ".date("Y")."<br>\n";
echo "LOCALE Date: ".strftime("%G")."<br>\n";

?>


I suspect the problem occured because BSDI doesn't support certain timezones listed in the forum and when you changed your timezone to that one the year got messed up. I will try to see if I can find the list of timezones supported by BSDI.


If you can, could you do execute "ls -lia /usr/share/zoneinfo" and send me the output.

Thanks.


FUDforum Core Developer
[Message index]
 
Read Message icon5.gif
Read Message
Read Message icon4.gif
Read Message
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message icon12.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FUDforum 2 (1.9.8 BETA) Released
Next Topic: Groups/Ranks/Users
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 01:20:51 GMT 2024

Total time taken to generate the page: 0.04166 seconds