Why the calculation not working on Sunday nights?