Skip to content

How to add hour minute seconds in PHP datetime?

date('Y-m-d H:i',strtotime('+1 hour +20 minutes',strtotime($start)));
See also  CSS code snippet - How to put element in center in html?

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.