sql server - DateTimeOffset.Now in T-SQL -


I am executing INSERT for a SQL 2008 db. I now include T-SQL in the DATETIMEOFFSET column.

This will give you local time server where SQL is installed.

Do you also want to store timezones etc.? If so, then () may be better


Comments

Popular posts from this blog

c++ - Linux and clipboard -

delphi - Mouseover hint for TChart series value -

How to Create Master-Details view using Asp.Net MVC framework -