Skip to content

bmel:parseDate

Category: Date & Time · Returns: bmel:date

bmel:parseDate(expr: bmel:string, pattern: bmel:string)

Description

Parses a string into a date value using the specified format pattern.

Arguments

Parameter Type Required Description
expr bmel:string The string representation of the date to parse.
pattern bmel:string The format pattern matching the input string (e.g. yyyy-MM-dd).

Example

bmel:parseDate({order:Request Payload}.$.date_string, "dd/MM/yyyy")

Back to BMEL Reference