+ 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,