Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Monday Jan 12: day 012 of 2026
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Mon Feb 2 02:02:40 2026