Format Date In Angular Js

Posted by Weston Ganger

One quick way to format your date in AngularJS you can use the following simple filter

{{yourDate | date:'longDate'}}

longDate is a format of date that you can choose, the angular docs list all of the date formats available and how to use custom dates as well. https://docs.angularjs.org/api/ng/filter/date

Article Topic:Software Development - Angular

Date:August 20, 2014

Recommended Posts