Format time with strftime():
<?php print strftime('%A %b %e: day %j of %Y'); ?>
Output
Sunday Apr 20: day 110 of 2025
Find dates with strtotime():
<?php $t strtotime('now + 3 weeks');
    print 
strftime('%c',$t); ?>
Output
Sun May 11 04:40:10 2025