
Anonymous
Not applicable
2016-06-20
08:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to add days to yyyymmdd format
Hi everyone,
I have the following date column in the format: yyyymmdd, eg. 20160630.
I wish to add 7 days to this column, so the new data must then be 20160707.
I tried using interval, as well as just +7, but no luck.
help will be appreciated.
regards,
Stefan
1,685 Views
3 Replies

Partner - Champion III
2016-06-20
08:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Turn it into a date first: date#(MyDate,'YYYYMMDD') as MyDate. Then you can add 7 to a MyDate value and get the correct date a week later back. Try it out in a textbox: Date(Date#(20160630,'YYYYMMDD')+7,'YYYYMMDD')
talk is cheap, supply exceeds demand
1,088 Views


Creator III
2016-06-20
08:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
=date(date(date#('20160630','YYYYMMDD'),'DD-MM-YYYY')+7,'YYYYMMDD')
$@M.
1,088 Views


Partner - Specialist
2016-06-20
08:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Stefan,
Try this,
Date(DateField,'YYYYMMDD')
Date(Date(DateField,'YYYYMMDD')+7,'YYYYMMDD')
Warm Regards,
Susovan
Susovan
1,088 Views
