Correction of date, to fetch current date and time