因为还要登录才能发表随笔,麻烦!以后直接在回复中写当时发现的小技巧!^_^获取时间:DateTime.Now.ToString("yyyy.MM.dd") 转载于:https://www.cnblogs.com/tohen/archive/2006/09/23/512653.html