Next Previous Up Top Contents Index

7.4 Performing operations on dates and durations

7.4.1 Comparing dates

The following operations are exported from the Date module.

=

Sealed method

<

Sealed method

date1 = date2 => equal?
date1 < date2 => before?

These methods let you perform arithmetic-like operations on dates to test for equality, or to test whether one date occurred before another.

System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index