Problem of the Day
A new programming or logic puzzle every Mon-Fri

What Year Is It?

Welcome back to ProblemofD!

In honor of the new year let's figure out what year it actually is. Today's goal is to write a program that figures out what the current year is according to the current computer. For bonus points write a program that pings a remote server for a more accurate result (you know incase your computer has the y2k bug or something).

Permalink: http://problemotd.com/problem/what-year-is-it/

Comments:

  • There are currently no comments. You can be first!

Content curated by @MaxBurstein