Hackerrank Time Conversion Problem explained with code in Java

preview_player
Показать описание


this is how my Setup looks like:

Connect with me on Social Media -
Рекомендации по теме
Комментарии
Автор

Thanks for the video.
Got the solution

PranavDeshpande-dh
Автор

Thank you. I like the approach to solving the problem.

MK-vuqt
Автор

SimpleDateFormat out = new
SimpleDateFormat in = new
Date date = null;
try {
date = in.parse(s);
} catch (ParseException e) {
e.printStackTrace();
}

return out.format(date);

В.О-ош