Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Saturday Feb 14: day 045 of 2026
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Sat Mar 7 02:53:14 2026