get the current date using the date time and not timestamp