Updated to latest versions
Cater for Yesterday in date format