0

Why is the hour

And the month written in capital letters Like this dd/MM/yy and HH:mm:ss Plis do tell me. https://code.sololearn.com/cUWw2fMrWEpU/?ref=app

13th Sep 2020, 3:07 PM
stephen haokip
stephen haokip - avatar
3 Answers
+ 1
MM is for months if you use mm you will get minutes. HH is for hours in 24h format : 15h00 hh is for hours in AM/PM format 03h00
13th Sep 2020, 4:05 PM
Bahha┣
Bahha┣ - avatar
+ 1
Just change it to small or single character M D or mm and you get different output
13th Sep 2020, 4:55 PM
HBhZ_C
HBhZ_C - avatar
+ 1
Thank you bahha
13th Sep 2020, 5:15 PM
stephen haokip
stephen haokip - avatar