Changing the time from the database.
Posted 29 October 2006 - 01:22 AM
and change it to central time (US). I have played with the date() function, but I couldn't figure it out. I also don't want it to appear in military time.
I appreciate all your help ^^ Thanks.
Posted 29 October 2006 - 01:37 AM
Use putenv("TZ=GB"); to set your timezone (you will need to replace GB with UST or similar).
Posted 29 October 2006 - 09:35 AM
<? putenv("TZ=US"); print date("h:i:s"); ?>
Try the above then chage "TZ=US" to "TZ=GB" (TZ stands for timezone).
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users