inLastDays

Last update: 2024-09-26
  • Created for:
  • Experienced
    Developer

Returns true if a given 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('2023-12-12T01:11:00Z'), 4)

Returns true.

On this page