inLastDays

Returns true if a given date or dateTime is between now and now - delta days.

Category

Date

Function syntax

inLastDays(<dateTime>,<delta>)

Parameters

Parameter Type
date time dateTime
delta integer

Signatures and returned type

inLastDays(<dateTime>,<integer>)

Returns a boolean.

Examples

inLastDays(toDateTime('2019-12-12T01:11:00Z'), 4))

Returns true.

On this page

Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now