Contents

Roo

DateTime.today?

Returns True if this DateTime object is anytime today, False if not.

var now = DateTime() # Instantiate to now.
print(now.today?) # True
var tomorrow = now.add_days(1)
print(tomorrow.today?) # False.