My program creates an output in Excel.
Some of the dates seem to be getting misinterpreted:
Just replace (to string) with (formated value)