Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Tuesday Nov 26: day 331 of 2024
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Tue Dec 17 18:20:57 2024