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
Hitesh KhannaHitesh Khanna 

how do i format date in my js file. ?..the date is coming from my apex class

Best Answer chosen by Hitesh Khanna
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Hitesh,

Please find the below article which shows formating the date in javascript file.

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/js_cb_format_dates.htm

If this solution helps, Please mark it as best solution.

Thanks,