Format Date In Angular Js

Posted By Weston Ganger

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

{{yourDate | date:'longDate'}}

<p>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. <a href="https://docs.angularjs.org/api/ng/filter/date">https://docs.angularjs.org/api/ng/filter/date</a></p>

Article Topic:Software Development - Javascript

Date:August 20, 2014