Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angularjs date filter

<span>{{1288323623006 | date:'medium'}}</span><br>
Oct 29, 2010 8:40:23 AM

<span>{{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}</span><br>
2010-10-29 08:40:23 +0500

<span>{{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}</span><br>
10/29/2010 @ 8:40AM
 
 <span>{{'1288323623006' | date:"MM/dd/yyyy 'at' h:mma"}}</span><br>
10/29/2010 at 8:40AM

Source by docs.angularjs.org #
 
PREVIOUS NEXT
Tagged: #angularjs #date #filter
ADD COMMENT
Topic
Name
3+8 =