did you run this in a debugger? and i can see date...
# suitescript
s
did you run this in a debugger? and i can see date manipulation is a bit tricky, it might cause issues if not setup properly