Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 web 表单中有一个 jquery,它以 mm/dd/yyyy 格式返回日期。如何将其转换为系统日期时间格式,或者是否可以在 jquery 中进行更改以返回系统日期时间格式的日期?
尝试:
DateTime dateTime = DateTime.ParseExact(jquery_date_string, "MM/dd/yyyy", null);