Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Wednesday May 14: day 134 of 2025
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Wed Jun 4 10:11:46 2025