Skip to main content

date_since

Synopsis

@date_since(DateTime) -> Boolean

Description

Checks whether the object creation time (in Contextal Platform) happened at the given date/time or later. All times are in UTC.

info

Available in Contextal Platform 1.0 and later.

Parameters

The only argument is the start date.

Return value

Boolean: true if the object was created on date/time or later, false otherwise.

Examples

@date_since("2024-09-26")
  • This matches objects with creation time of 2024-09-26 00:00:00 (UTC) or later.
@date_since("2024-09-26 12:00:00")
  • This matches objects with creation time of 2024-09-26 12:00:00 (UTC) or later.