Javascript Date和JSON DateTime [英] Javascript Date and JSON DateTime
本文介绍了Javascript Date和JSON DateTime的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以格式化JavaScript日期以使其兼容c#DateTime吗?
解决方案
我建议使用Datejs图书馆( http://www.datejs.com/ )。从我有限的经验来说,这太棒了。
I have a problem with Jquery function getJSON, the action url does not trigger because one of the parameter i am passing is a javascript date but the action expects c# DateTime..
Is it possible to format the Javascript Date to make it compatible for c# DateTime?
解决方案
I would suggest using the Datejs library (http://www.datejs.com/). From my limited experience with it it's fantastic.
这篇关于Javascript Date和JSON DateTime的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文