Hai folks,
assume 18-2-2012 is an employee id expiry date.
i want to alert the management prior to 30 days of expiry of this id.
but below code does not work. pls help me?
$exp_dt=strtotime("18-2-2012");
if ($exp_dt == strtotime("+30 days")){
echo "This id will going to expire in 30 days";
}



Reply With Quote



Bookmarks