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
Harry1008Harry1008 

Issue with the time format in Calender

We have a lightning component called Calls Calenar which is used to create calls to interact with customers. When we create a new call the time populates as start time as 12:43:56 format. I need to change this format to 12:30 format. Please see the attached controller.
User-added image
NagendraNagendra (Salesforce Developers) 
Hi Harish,

May I suggest you please give a try by using
lightning:formattedDateTime
in your component to display formatted date time.

Please let us know if this helps.

Thanks,
Nagendra