Im stuck on a problem and would appreciate any help. I have read through lot of the discussions already but they dont seem to work for me.
//I have a date a
//JS //First Solution moment(myDate) //Second Solution moment(myDate).format('YYYY-MM-DD HH:mm:ss') //or moment(myDate).format('YYYY-MM-DD') //Third Solution myDate = $filter('date')(myDate, "dd/MM/yyyy");
{{myDate | date:'M/d/yyyy HH:mm:ss'}} {{myDate | date:'medium'}} {{myDate}} {{myDate}}