Skip to main content

DATEADD + 45 days

  • November 9, 2020
  • 8 replies
  • 49 views

hello,
I have a DATE column and would like to display date+45 days in another column. How to do that? I believe it has something with dateadd but don’t know how to use it properly

8 replies

Forum|alt.badge.img+14
  • Participating Frequently
  • November 9, 2020

Hi @Michal_Kuczma,
You are correct, this can be done with DATEADD(). The syntax looks like this:

DATEADD( {DATE}, 45, 'days')

Also make sure the formatting is consistent on both fields. Hope that helps!


  • Author
  • New Participant
  • November 9, 2020

Hi @Michal_Kuczma,
You are correct, this can be done with DATEADD(). The syntax looks like this:

DATEADD( {DATE}, 45, 'days')

Also make sure the formatting is consistent on both fields. Hope that helps!


but how to incorporate column name with date field here?


Forum|alt.badge.img+14
  • Participating Frequently
  • November 9, 2020

but how to incorporate column name with date field here?


Replace {DATE} in this formula with your own date field.


  • Author
  • New Participant
  • November 9, 2020

Replace {DATE} in this formula with your own date field.


not working

DATEADD( {{column-name}DATE}, 45, ‘days’)


Forum|alt.badge.img+14
  • Participating Frequently
  • November 9, 2020

not working

DATEADD( {{column-name}DATE}, 45, ‘days’)


DATEADD( {column-name}, 45, ‘days’)


  • Author
  • New Participant
  • November 9, 2020

DATEADD( {column-name}, 45, ‘days’)


DATEADD( {column-name}, 45, ‘days’) - invalid formula. Could you first try if its actually working? :winking_face:


Forum|alt.badge.img+14
  • Participating Frequently
  • November 9, 2020

The formatting of the apostrophes might have gotten messed up here. Try copying this: 'days' (instead of ‘days’)


  • Author
  • New Participant
  • November 9, 2020

The formatting of the apostrophes might have gotten messed up here. Try copying this: 'days' (instead of ‘days’)


OK its working now;) Thanks a ton

I try to customize the output to get only date without time in the format D/M/YYYY

DATEADD( {column-name}, 45, ‘days’, ‘D/M/YYYY’) does not seem to work properly