angular.js - How to get the yyyy-MM-dd value in angular-ui Datepicker
给我你的怀抱
给我你的怀抱 2017-05-15 17:01:03
0
2
581

    **Friday, August 14, 2009
        取出来的是这种时间 想要yyyy-MM-dd的 要配什么参数**
给我你的怀抱
给我你的怀抱

reply all(2)
洪涛

Update the question I asked before.

in html

<p ng-bind="变量 | date : 'yyyy-MM-dd'"></p>

in js

$filter('date')(变量,'yyyy-MM-dd'); 
巴扎黑

Filter, just format it. Besides, doesn’t the official website have sample code? . .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template