Happy February

int currentYear = DateTime.Now.Year();

if (currentYear % 400 == 0) { Message2.Text = ("This is a leap year"); }

else { Message2.Text = ("This is not a leap year"); }

By DuaneGallaher

Musician, bicycle mechanic, eBike enthusiast, former mainframe developer becoming web developer, all around curious person with passion for solving problems.

Leave a Reply