how to get local time in sql server code example Example: tsql utf to local time select [MyUtcDate] + getdate() - getutcdate() from [dbo].[mytable]