beaux1 Posted February 23, 2007 Share Posted February 23, 2007 Running PHP4.3.11, date_default_timezone_set is only supported in PHP5. Is there any alternative way around this? I want the time to be set to GMT, you see. Quote Link to comment Share on other sites More sharing options...
paul2463 Posted February 23, 2007 Share Posted February 23, 2007 try this link <a href="http://uk2.php.net/manual/en/function.gmmktime.php"> GMMKTIME</a> Quote Link to comment Share on other sites More sharing options...
beaux1 Posted February 23, 2007 Author Share Posted February 23, 2007 <?php gmmktime(0, 0, 0, 1, 1, 1970); // valid in GMT and west, invalid in east ?> So what, is that GMT + 0 time? I just want it to set to GMT so when I echo using PHP's date function, it will output the right date. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.