Task

Determine whether a given year is a leap year in the Gregorian calendar.



See also

 Leap year (wiki)


if date$("02/29/" + mid$(date$("mm/dd/yyyy"),7,4)) then print "leap year" else print "not"