+ 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 Answers
+ 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