Hi
What is wrong in this line
$Date = SUBDATE(NOW(),1)
$mailBody = 'Please find details of Accounts Created As On ' .$Date;
Hi
What is wrong in this line
$Date = SUBDATE(NOW(),1)
$mailBody = 'Please find details of Accounts Created As On ' .$Date;
If you want to get yesterday's date in PHP try the following:
$date = date('d.m.Y',strtotime("-1 days"));
If you want to get yesterday's date in PHP try the following:
$date = date('d.m.Y',strtotime("-1 days"));