- TIBCO BusinessEvents®
- Standard
- Date

# Date

## Description

Utility Functions to Operate on DateTime Properties as Dates without Time

## Functions

Name | Signature and Synopsis
--- | ---
`after` | `boolean after (DateTime d1, DateTime d2)` Returns true if the date `d1` is after the date `d2`. The comparison is done independently of the time of day of both `d1` and `d2`.
`before` | `boolean before (DateTime d1, DateTime d2)` Returns true if the date `d1` is before the date `d2`. The comparison is done independently of the time of day of both `d1` and `d2`.
`equals` | `boolean equals (DateTime d1, DateTime d2)` Returns true if the date of `d1` is the same as the date of `d2`. The comparison is done independently of the time of day of both `d1` and `d2`.
`today` | `DateTime today ()` Returns the current date as a DateTime.