strtotime shrine
strtotime is the best PHP function.

strtotime() on

strtotime() on W3 Schools

acceptable input formats on

Here are some ways an enterprising young programmer may use this function:

<?php echo date('m/d/Y h:i:s'strtotime('next tuesday')); ?> 04/04/2017 12:00:00
<?php echo date('m/d/Y h:i:s'strtotime('noon monday')); ?> 04/03/2017 12:00:00
<?php echo date('m/d/Y h:i:s'strtotime('10 years ago')); ?> 03/29/2007 05:01:04
<?php echo date('m/d/Y h:i:s'strtotime('third monday 10 years ago')); ?> 03/06/2007 12:00:00
<?php echo date('m/d/Y h:i:s'strtotime('my birthday')); ?> 01/01/1970 12:00:00

My Blog. If you want to leave me a comment about this site, you could do it here but you have to register because I don't want any blog comment spam.