• Operand type clash: date is incompatible with int

    Is it the time thats causing the problem ?