Forum Discussion

YY's avatar
YY
Qrew Member
9 years ago

calculating dates with date formula.

i have date field(1st Field) and i am trying to add another field that calculates 1 year from first field. for example,

1st Field (Date Field)

2nd Field (Formula Date Field) ( this field should show 1 year from 1st field) 

i tried all i knew but didnt work. 


Please help

  • You can create a new date-formula field with following type of date-formula for adding one year to the given date.
    AdjustYear([dt1], +1)

    In the above example dt1 is a name of the  date field.

    Replace "dt1" with proper date-field-name to which you are adding one year.

    Neal

    NealPatil @ gmx.com
  • KingslySamuel1's avatar
    KingslySamuel1
    Qrew Assistant Captain
    What is the formula if you are adding just a day, a week or a month?
  • to add a day it would be

    [my date field] + Days(1)

    To adjust the month it would be

    AdjustMonth([my date field],3) to move three months ahead.