Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Tuesday Dec 16: day 350 of 2025
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Tue Jan 6 14:02:17 2026