Kód:
define("DAY_START", 28);
define("DAY_END", 30);
define("MONTH", 09);
define("YEAR", 2011);
$day = rand(DAY_START,DAY_END);
$month = MONTH;
$year = YEAR;
echo date("H:i, D M jS Y", mktime(0,00,00, $month, $day, $year));
preco to nenavrati rok 2011 ale 2010 o.o