Convert US date to EU date | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Convert US date to EU date

Anyone knows what's wrong with my code? It just doesn't work in case 2 but the output that it's supposed to be is the same as the output of my code (my English isn't very good so I'm not sure if I said it right 😅) , so I'm kinda confused, my code works but for some reason it doesn't work in case 2 even if they have the same answer, can anyone help me please? https://code.sololearn.com/cdy76KwzBSs0/?ref=app

10th Jul 2021, 4:30 PM
Itzel Medina
Itzel Medina - avatar
2 Answers
+ 2
"Octouber" must be "October": there's an unexpected 'u' in your spell at this month name ^^
10th Jul 2021, 6:28 PM
visph
visph - avatar
0
Oh I didn't notice, thanks! but it still doesn't work in case 2, thank you anyways
11th Jul 2021, 2:28 PM
Itzel Medina
Itzel Medina - avatar