<?php
$d = new DateTimeImmutable( 'Apr 20th, 2018' );
echo $d->format( "l Y-m-d\n" );
$i = DateInterval::createFromDateString( "next weekday" );
echo $d->add( $i )->format( "l Y-m-d\n" );
$i = DateInterval::createFromDateString( "3 months 10 days" );
echo $d->sub( $i )->format( "l Y-m-d\n" );
?>