var today = '@DateTime.Now.ToString("yyyy-MM-dd HH:mm")'; Date.parse(today) 转载于:https://www.cnblogs.com/zhangzhiping35/p/10656311.html