我正在使用离子完整日历在c#MVC中.a需要从数据库中读取日期。但是我无法通过使用JSON以适当的方式读取它们,因此我需要转换日期格式如下...将日期和时间转换为完整日历中的另一种格式
电流输出格式:2014-06-01 16:00
[{"id":"d719381c-b3e4-e311-afa9-eca86bf6cf86","title":"Annual Function","start":"2014-06-01 16:00","end":"2014-06-01 19:00"},{"id":"d719381c-b3e4-e311-afa9-eca86bf6cf86","title":"convocation day","start":"2014-06-24 00:49 12:49","end":"2014-06-24 "}]
需要的输出格式: “/日期(1423087200000)/”
[{"id":1259,"title":"bvbvcbc","start":"/Date(1423845000000)/","end":"/Date(1423931400000)/","allDay":false,"description":"Notesbvbvcbc"},{"id":1263,"title":"om nmh sivaay ","start":"/Date(1423087200000)/","end":"/Date(1423432800000)/","allDay":false,"description":"Notesom nmh sivaay "},{"id":1265,"title":"vimal raturi","start":"/Date(1423546200000)/","end":"/Date(1423632600000)/","allDay":false,"description":"Notesvimal raturi"}
格式是什么呢? unix时间戳? – slicedtoad 2015-03-02 14:14:44