strtotime shrine
acceptable input formats on gnu.org
Here are some ways an enterprising young programmer may use this function:
Code Result <?php echo date('m/d/Y h:i:s', strtotime('next tuesday')); ?>07/08/2008 12:00:00 <?php echo date('m/d/Y h:i:s', strtotime('noon monday')); ?>07/07/2008 12:00:00 <?php echo date('m/d/Y h:i:s', strtotime('10 years ago')); ?>07/05/1998 10:29:30 <?php echo date('m/d/Y h:i:s', strtotime('third monday 10 years ago')); ?>06/09/1998 12:00:00 <?php echo date('m/d/Y h:i:s', strtotime('my birthday')); ?>12/31/1969 07: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.