Home » Php » Advance Php Interview Question » add one hour to current time in php.

add one hour to current time in php.

add one hour to current time in php

Adding 1 hours in current time in php.first we get the current time from strtotime then we add 1 hours in this time stamp.

Some other example to add a specific amount of time like 1 Days, 1 Week,1 Years in a specific time

, , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">