What exactly are you trying to do?

Why are you using a loop if there's only one date?