Date script not working

aha subtracting a smaller number from a greater yields a negative. MATHS!!!!