The Day in Dutch

Published by Matt in

Write a method that when passed a date as "dd mm yyyy" and returns the date's weekday name in the Dutch culture.

Examples

weekdayDutch("21 9 1970") ➞ "maandag"

weekdayDutch("2 9 1945") ➞ "zondag"

weekdayDutch("9 11 2001") ➞ "dinsdag"

Notes

  • Check the Resources tab for help.
  • You can assume the specified date is valid.
Watch a quick demo on how Edabit works.