Hi,

I am trying to get my head around this and have done some googling without any luck, so I hope that someone can help.

I am trying to use mktime to automatically adjust the time by so many hours.

for example you have a server in another time zone and want to plus or minus the time it generates by a set number of hours.

if anyone could give me some basic code samples or point me to a good tutorial that would be great.

Thanks,
Anthony Irwin

    try something like this:

    <?php
    echo date( "Y-m-d" , strtotime( "+1 hour" ) );
    ?>
      Write a Reply...