Manuals/calci/ADDDATE

From ZCubes Wiki
Revision as of 17:14, 9 August 2017 by Devika (talk | contribs) (Created page with "<div style="font-size:30px">'''ADDDATE (Date,Days,Months,Years)'''</div><br/> *<math>Date</math> is any date. *<math>Days</math> is number of days to be added. *<math>Months</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
ADDDATE (Date,Days,Months,Years)


  • is any date.
  • is number of days to be added.
  • is number of months to be added.
  • is number of years.

Description

  • This function used to add dates,months and year to given date.
  • In , is any date in which number of day to added.
  • is the number of days to be added.
  • is the number months to be added to the given date.
  • is the number of year to be added.
  • Using this function we can add or subtract the number of days to the given date.
  • Day values can be positive or negative.

Example

  1. ADDDATE("3/10/2016",45,2,0) = 2016-06-23T18:30:00.000Z
  2. ADDDATE("10/5/2020",240,6,2) = 2023-12-01T18:30:00.000Z
  3. ADDDATE("12/10/2060",0,0,5) = 2065-12-09T18:30:00.000Z

See Also

References