- date: documentation ( source)
- rand: documentation ( source)
<?php
$hour = rand(11, 13);
$end_minute = ($hour == 13) ? 30 : 59;
$minute = rand(1, $end_minute);
$minute = (strlen($minute) == 1) ? '0' . $minute : $minute;
$start_date = date('d/m/Y') . '/' . $hour . '/' . $minute;
echo $start_date;