daysBetween

fun daysBetween(date2: Date): <Error class: unknown class>

Computes the number of days between two dates. If @date2 is prior to @date1, the returned value is negative. Both dates must be valid.

Return

the number of days between @date1 and @date2

Parameters

date2

the second date