I am coding an application where i need to assign random date between two fixed timestamps
how i can achieve this using php i\'ve searched first but only found the a
The best way :
$timestamp = rand( strtotime("Jan 01 2015"), strtotime("Nov 01 2016") ); $random_Date = date("d.m.Y", $timestamp );