Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Friday May 15: day 135 of 2026
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Fri Jun 5 17:09:54 2026