Problem C
Danish Date Format
Languages
da
en
To your eternal irritation, your American pen pal uses the MM/DD/YYYY date format popular in the United States. To avoid future misunderstandings, you want to automatically convert all date formats to the Danish format.
Input
The input consists of exactly $10$ characters, representing a valid date between $1$ January $1900$ and $31$ December $2024$, in the MM/DD/YYYY format.
Output
The same date in Danish format, as shown in the examples. You may need to consult external sources for the Danish month names.
Sample Input 1 | Sample Output 1 |
---|---|
04/19/2024 |
19. april 2024 |
Sample Input 2 | Sample Output 2 |
---|---|
02/29/2024 |
29. februar 2024 |
Sample Input 3 | Sample Output 3 |
---|---|
01/01/1900 |
1. januar 1900 |