- date_create: documentation ( source)
- date_format: documentation ( source)
- date_modify: documentation ( source)
- rand: documentation ( source)
<?php
$date = date_create('now');
$delay = rand(1,3);
date_modify($date, '+'.$delay.' day');
echo date_format($date, 'Y-m-d');