CREATE FUNCTION GetLocalDate() RETURNS DATETIME AS BEGIN DECLARE @bjdate DATETIME; SELECT @bjdate=SWITCHOFFSET(SYSDATETIMEOFFSET(), '+08:00'); RETURN @bjdate; END
posted on 2017-10-16 02:21 Thancoo 阅读(751) 评论(0) 编辑 收藏 举报