Converted date objects to formatted string