lastndays() Function

Returns a Boolean value for whether the given date is within the last given number of days.

Syntax

lastndays( date, n )

date: (Date) The base date.

n: The number of days to test.

Returns

Boolean

Examples

You can experiment with this function in the test box below.

Test Input

lastndays(date(2013,2,15), 6) returns False when today's date is 2013/2/28.

FEEDBACK