Wednesday, August 26, 2015

Dainder: The Day Finder

Result

Year

Month

Day


  • Sep [forgot], 2015
    Updated the "name" of this tool. It was a typo. Like, a very much arbitrary typo.
  • August 29, 2015
    Updated the limit for year. Dainder follows the rules for HTML5's input[type="date"].
  • August 28, 2015
    Updated the method a bit so that Dainder can work more properly.

How to Use

  • Type the year, month, and day (number) on each input, respectively. And the day name of that date will be displayed.
  • Minimum year number is 1, and it can accept any other positive integer less than or equal to 275,760.
  • Both month and day numbers start at 1.
    1st month is January, and 1st day is Sunday (not the date, but the weekday).
  • Maximum month number is 12.
  • Maximum day number is 31.
  • To reset all, simply click/tap the reset button.

Additional Notes

  • For day number beyond the month scope, for instance 2015-2-31, will be automatically-corrected to 2015-3-3.
    It's the wonder of ECMAScript (JavaScript).
    But of course, obvious weird date pattern will result error.
  • For the year 275,760, the maximum month is September (9) and the day is 13. After that, it will set itself to January 1 (of 275,760).
    This is the discussion on Stack Overflow.

The days were named after planets

From Greco-Roman tradition

Between the 1st and 3rd centuries the Roman Empire gradually replaced the eight-day Roman nundinal cycle with the seven-day week. Our earliest evidence for this new system is a Pompeiian graffito referring to the 6th February (viii idus Februarius) of the year AD 60 as dies solis ("Sunday"). Another early witness is a reference to a lost treatise by Plutarch, written in about AD 100, which addressed the question of Why are the days named after the planets reckoned in a different order from the actual order?

The days were named after the planets of Hellenistic astrology, in the order Sun, Moon, Mars (Ares), Mercury (Hermes), Jupiter (Zeus), Venus (Aphrodite) and Saturn (Cronos).

Dear Wikipedia