Continuing the discussion from Incorrect/incomplete leap year calculation in RPA Developer Foundation:
@Theepan @arivu96 @korygill
I beleive the code just works fine even without year mod 100 <> 0.
I used (year mod 4 = 0) and (year mod 400 = 0) inside if condition. It gives the expected result…
1900 - NOT a LEAP year
2000 - LEAP year
I have been wondering why do we need year mod 100 <>0