पीएचपी स्क्रिप्ट यादृच्छिक तिथि उत्पन्न करने के लिए
//Generate a timestamp using mt_rand.
$timestamp = mt_rand(1, time());
//Format that timestamp into a readable date string.
$randomDate = date("d M Y", $timestamp);
//Print it out.
echo $randomDate;