Try OpenEdge Now
skip to main content
BPM Events User's Guide
The rule language : Time operations and expressions : Extracting elements of a date

Extracting elements of a date

The date object in BPM Events represents a specific instant in time with precision measured down to the second. Given a date object, it is possible to extract each of its fields (year, month, day, hour, minute and second), as an integer value, using projection functions for each field.
For example, if the value of is:
Then the following numerical equations are true: = 1998 = 12 = 15 = 18 = 30 = 5