• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 12496
  • Last Modified:

sql syntax to add days to date field

I have a database - back end sql, front end acces data project.  I want to add 60 days to the now field:
(dbo.tbdProject.ContractExp >= { fn NOW() })
Thanks
0
ksilvoso
Asked:
ksilvoso
  • 2
1 Solution
 
SQL_SERVER_DBACommented:
SELECT DateAdd("d",60,date())
0
 
Patrick MatthewsCommented:
>= DATEADD(d, 60, GETDATE())
0
 
ksilvosoAuthor Commented:
Matthewspatrick,
This worked great for me.  Thanks
0
 
Patrick MatthewsCommented:
ksilvoso,

Glad to help :)

Regards,

Patrick
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now