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.
我在以下格式的 sting 对象中有日期。
日/月/年
我想在 jquery 的 mm/dd/yyyy 中更改它。
有什么建议么?
将不胜感激帮助...
关于什么:
var mydate = 'dd/mm/yyyy'.split('/'), newdate = mydate[1]+'/'+mydate[0]+'/'+mydate[2];