function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yash Kumar GuptaYash 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...
Best Answer chosen by Yash Kumar Gupta
VinayVinay (Salesforce Developers) 
Hi Yash,

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