DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss fff") 转载于:https://www.cnblogs.com/zhangpengshou/archive/2011/12/24/2300543.html