Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

select the date 30 days less that the todays date sql request

declare @thirtydaysago datetime
declare @now datetime
set @now = getdate()
set @thirtydaysago = dateadd(day,-30,@now)

select @now, @thirtydaysago
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #date #days #todays #date #sql #request
ADD COMMENT
Topic
Name
7+7 =