RosettaCodeData/Task/Leap-year/Run-BASIC/leap-year.basic

2 lines
91 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
if date$("02/29/" + mid$(date$("mm/dd/yyyy"),7,4)) then print "leap year" else print "not"