Answers for "tsql date - 1 day"

SQL
1

datetime add 2 hours sql

DATEADD(HOUR, 2, GETUTCDATE())
Posted by: Guest on March-19-2020
0

3 days back in sql server

DATEADD(DAY, -3, GETDATE())
Posted by: Guest on November-30-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language