Minor bug corrected

Minor bug in Formatting the date corrected.