Skip to content

bmel:isBefore

Category: Date & Time · Returns: bmel:boolean

bmel:isBefore(a: bmel:date | bmel:datetime, b: bmel:date | bmel:datetime)

Description

Returns true if date/datetime a is strictly before b.

Arguments

Parameter Type Required Description
a bmel:date | bmel:datetime The date to test.
b bmel:date | bmel:datetime The reference date to compare against.

Example

bmel:isBefore({order:Response Payload}.$.due_date, bmel:now())

Back to BMEL Reference