Designing and Implementing Business Process Models : Business Rules Reference : Functions Overview : Summary of Date Functions
Summary of Date Functions
webMethods Rules Development provides the following predefined date functions:
Note:  
Dates are based on the ISO 8601 standard which is based on the proleptic Gregorian calendar.
Function
Returns
Description
Integer
Returns the century for this date.
Integer
Compares one date against another date.
Date
Returns the current date from the server where the decision entity is invoked.
Date
Returns a copy of this date minus the specified number of days.
Date
Returns a copy of this date plus the specified number of days.
Integer
Returns the number of milliseconds since the standard base time.
Integer
Returns the day of the month for this date.
Integer
Returns the day of the week for this date.
Integer
Returns the day of the year for this date.
Integer
Returns the number of days in the specified month in the given year.
Integer
Returns the mathematical difference in days between this date and the specified date ignoring the times of both dates.
Integer
Returns the mathematical difference in months between this date and the specified date ignoring the times of both dates.
Integer
Returns the mathematical difference in years between this date and the specified date ignoring the times of both dates.
Date
Returns a date that represents the specified number of milliseconds since the standard base time.
Boolean
Indicates whether or not the specified year is a leap year.
Integer
Returns the numeric month for this date.
String
Returns the string representation of the time this date as Hours:Minutes:Seconds.Milliseconds.
Boolean
Verifies that the date represented by the specified year, month and day is valid.
Boolean
Verifies that the specified number of milliseconds is a valid date representation.
Boolean
Verifies that the specified numeric month is valid.
Boolean
Verifies that the specified numeric year is valid.
Integer
Returns the numeric 4-digit year for this date.
Date
Creates and returns a date from three integers (year, month, day).
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback