- time: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
- rand: documentation ( source)
<?php
$rand = rand(25,45);
$last_bid_time = date('H:i:s', strtotime(time()));
$new_date = date('H:i:s', strtotime($last_bid_time . '+ '.$rand.' seconds'));
echo $rand;
echo '<br>'.$new_date;