reference:http://www.cnblogs.com/coconut_zhang/archive/2009/02/02/1382598.html http://blog.itpub.net/14766526/viewspace-1156100/ select GETDATE() as '当前日期',DateName(year,GetDate()) as '年',DateName(month,GetDate()) as '月',DateName(day,GetDate()) as '日
时间函数详解 Now 根据计算机系统设定的日期和时间返回当前的日期和时间值.如:设置元件文本的值为:[[Now]]:输出:Mon Jan 08 2018 10:42:55 GMT+0800 (中国标准时间).GMT(Greenwich Mean Time)代表格林尼治标准时间.而CST却同时可以代表如下 4 个不同的时区:Central Standard Time (USA) UT-6:00美国:Central Standard Time (Australia) UT+9:30澳大利亚: