dateDiff

Overview ColdFusion Open BlueDragon Lucee

Determines the integer number of units by which date1 is less than date2. [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
date1 Yes DateTime
date2 Yes DateTime
datepart Yes String