Consider the following example quoted from php manual for DateTime
<?php
$date = new DateTime('2000-01-20');
$date->sub(new DateInterval('P10D'));
echo $date->format('Y-m-d') . "\n";
?>
‘D’ is for days, what does the ‘P’ stand for in that formatting?
From the manual