Converting US date to EU date challenge? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Converting US date to EU date challenge?

Can I have some guidance on this? Donā€™t need the answer just a push.

29th Jul 2020, 9:39 PM
Roderick Davis
Roderick Davis - avatar
2 Respostas
+ 4
Input is in the form of mm/dd/yyyy or month dd, yyyy. You need display or convert into date/month/year... Varies ways you can do. If you want split and merge, read about strtok function....
29th Jul 2020, 9:53 PM
Jayakrishna šŸ‡®šŸ‡³
+ 3
check if first char is alphabet, if it is then change the input from month dd, yyyy into mm/dd/yyyy then simply split each date values and print them by dd/mm/yyyy order
29th Jul 2020, 9:59 PM
Shen Bapiro
Shen Bapiro - avatar