Try OpenEdge Now
skip to main content
BPM Events User's Guide
The rule language : Time operations and expressions : Date expressions : Date values in rule language
Date values in rule language
Dates are expressed by aggregating date units (year, month, day, hour, minute, second) separated by "/". A few examples of dates are listed below:
The maximum precision of a date is the second. The minimum precision is the year. In case a date is not precise enough for date operations, the missing date units are completed by default with the lowest value allowed by the unit. Each unit of time takes the values shown in Table 11.
Table 11. Time values
Event object
year (YEAR)
Four digit year number
month (MONTH)
1 to 12
day (DAY)
1 to 30, 31, 28 or 29, depending on the month
hour (HOUR)
0 to 23
minute (MIN)
0 to 59
second (SEC)
0 to 59
The hour unit (HOUR) takes values between 0 and 23, as the first hour after midnight is 0. The minute (MIN) and second (SEC) units take values between 0 and 59. You may express the date marked by the first second of January 1999 by any of the following date expressions: