You need to sign in to do that
Don't have an account?
Yash Kumar Gupta
In Lightning Input how I can show Time in 24 hour format
Hi all,
can anyone tell me how to show time in 24 hour format in
lightning input "type DateTime" which also "EDITABLE" ? If not possible any another way to show it...
can anyone tell me how to show time in 24 hour format in
lightning input "type DateTime" which also "EDITABLE" ? If not possible any another way to show it...
There is no standard tag in lightning, You will have to create your own custom component to display the time selection.
KI link which has no fix (https://success.salesforce.com/issues_view?id=a1p3A000000AU8aQAG)
Review below links that can help you.
https://salesforce.stackexchange.com/questions/202616/lightninginput-time-display
https://salesforce.stackexchange.com/questions/250941/how-to-enter-the-seconds-in-lightning-input-date-time
https://salesforce.stackexchange.com/questions/222124/lightninginput-type-date-how-to-change-the-date-fomat-summer18
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar