Angularjs

Format Date In Angular Js

Posted by Weston Ganger on August 20, 2014

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


Posted in Angular and Tagged with angularjs date format 


Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts