sql getdate minus 1 day without time
DATEADD(DAY, -30, GETDATE())
sql getdate minus 1 day without time
DATEADD(DAY, -30, GETDATE())
sql server current date minus 5 years
SELECT GETDATE() 'Today',
DATEADD(day,-2,GETDATE()) 'Today - 2 Days'
SELECT GETDATE() 'Today',
DATEADD(dd,-2,GETDATE()) 'Today - 2 Days'
SELECT GETDATE() 'Today',
DATEADD(d,-2,GETDATE()) 'Today - 2 Days'
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us