05-02-2018
15,129,
5,008
Join Date: Jul 2012
Last Activity: 4 May 2020, 4:31 PM EDT
Location: Aachen, Germany
Posts: 15,129
Thanks Given: 735
Thanked 5,008 Times in 4,483 Posts
Does the error occur immediately, i.e. right at the begin of the program working on the first input line, or more towards the end of it?
In the code in post#8, shift the DATE_DIFF calculation after the four commented out echo lines, and remove the four comment signs. You may want to add and output a loop counter.