
Anonymous
Not applicable
2018-01-10
10:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Add days to Date Column and Create New Date Column
Hello Guys,
I have column with Dates (YYYYMMDD) and a column with Days . I need to add dates +days = new date column
Kindly help.
Thanks,
Ravi
6,039 Views
1 Solution
Accepted Solutions

MVP
2018-01-10
10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried this?
Date(Dates + Days) as NewDate
or
Date(Date#(Dates, 'YYYYMMDD') + Days) as NewDate
5,560 Views
3 Replies

MVP
2018-01-10
10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried this?
Date(Dates + Days) as NewDate
or
Date(Date#(Dates, 'YYYYMMDD') + Days) as NewDate
5,561 Views

Anonymous
Not applicable
2018-01-11
03:59 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sunny,
Thanks a lot .
Date(Date#(Dates, 'YYYYMMDD') + Days) as NewDate . This worked for me .
Regard,
ravi
5,560 Views

Creator III
2018-09-21
07:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sunny
How to execute below SQL statement which has Dateadd function?
Thanks in advance.
ISNULL(I.maturitydate,I.ExpiryDate) between @BusinessDate AND DATEADD(d,@DaystoMaturity,@BusinessDate)
5,560 Views
