Use This Template

CompareTo(DateTime)

Compares the value of this instance to a specified DateOnly value and returns an integer that indicates whether this instance is earlier than (1), the same as (0), or later (-1) than the specified DateOnly value.

CompareTo(DateTime)

Compares the value of this instance to a specified DateOnly value and returns an integer that indicates whether this instance is earlier than (1), the same as (0), or later (-1) than the specified DateOnly value.