updated date format for output