Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Thursday Apr 9: day 099 of 2026
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Thu Apr 30 19:37:19 2026