Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Friday Jun 5: day 156 of 2026
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Fri Jun 26 20:20:03 2026