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  How to output text in PHP?

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.