dateAdd

Overview ColdFusion Open BlueDragon Lucee

Adds units of time to a date. [datepart - quicky] yyyy: Year; q: Quarter; m: Month; y: Day of year; d: Day w: Weekday; ww: Week; h: Hour; n: Minute; s: Second; l: Millisecond

Attributes

Name Required Type Default Description
date Yes DateTime
datepart Yes String
number Yes Numeric