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

Convert US date to EU date

The code works but I was wondering if there's a easier way to solve it, I feel like I wrote a lot of code to a problem that could have been solved in a easier way https://code.sololearn.com/cghVu55Xfn5o/?ref=app

10th Jan 2021, 2:54 AM
Itzel Medina
Itzel Medina - avatar
5 Respostas
+ 3
Hi Itzel Medina , https://code.sololearn.com/cmRr3WV33AYQ/?ref=app šŸ™‚ This will be good for you šŸ¾
10th Jan 2021, 3:47 AM
Pāˆ†WAN Māˆ†URYāˆ†
Pāˆ†WAN Māˆ†URYāˆ† - avatar
+ 2
Jan Markus I think your solution is right. Solving with HTML šŸ¤”šŸ¤”...... I am not working on HTML currentlyšŸ¤·šŸ»ā€ā™‚ļø, but you can try
10th Jan 2021, 9:23 AM
AKSHAYšŸ‡®šŸ‡³
AKSHAYšŸ‡®šŸ‡³ - avatar
+ 1
Jan Markus do you have any reason to believe so? šŸ¤”
10th Jan 2021, 5:08 AM
AKSHAYšŸ‡®šŸ‡³
AKSHAYšŸ‡®šŸ‡³ - avatar
+ 1
Pāˆ†WAN Māˆ†URYāˆ†, your solution is good, but it seems to me that it can be slightly improved by optimizing the date patterns and try-catch constructions. My code: https://code.sololearn.com/c4lHhYU1NSYy/?ref=app
10th Sep 2021, 7:33 AM
IMPERATOR_IGOR_I
+ 1
Thanks! I'll try that šŸ™
28th Oct 2021, 3:22 AM
Itzel Medina
Itzel Medina - avatar