Development tools : Global functions : Date category : after
  
after
Description
While calculating the date which is after specified (days, months, years) period than a given date, the process sequence is days, then months, and lastly years.
Usage
Client side: Y
Server side: Y
Syntax
Date after(Date date, Integer days, Integer months, Integer years)
Arguments
date
The date to be calculated. The argument can by any date type data.
days
The number of days after. The argument can be any integer number, if the value is negative, it will be considered as before.
months
The number of months after. The argument can be any integer number, if the value is negative, it will be considered as before.
years
The number of years after. The argument can be any integer number, if the value is negative, it will be considered as before.
Return
Returns the date which is after than a given date with specified (days, months, years) period. If any of argument is empty, empty value will be returned.
Example
after(2010/01/20,-5,1,1)
returns 2011/02/15.
Go up to
Date category