Re: [PHP] Date and time problem

2003-02-02 Thread Larry E. Ullman
echo date ("l dS of F Y h:i:s A"); However, I need to add 12 hrs to this date befor displaying on the webpage. Can someone please help me to modify the above code? $t = time() + (12 * 60 * 60); echo date ("l dS of F Y h:i:s A", $t); Larry -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Date and time problem

2003-02-02 Thread Tom Rogers
Hi, Monday, February 3, 2003, 11:10:36 AM, you wrote: DLM> Hello friends. DLM> The follwing code displays the date on my webpage : DLM> echo date ("l dS of F Y h:i:s A"); DLM> However, I need to add 12 hrs to this date befor displaying on the webpage. Can someone please help me to modify the a

[PHP] Date and time problem

2003-02-02 Thread Denis L. Menezes
Hello friends. The follwing code displays the date on my webpage : echo date ("l dS of F Y h:i:s A"); However, I need to add 12 hrs to this date befor displaying on the webpage. Can someone please help me to modify the above code? Thanks Denis