Contents

Roo

DateTime.yesterday?

Returns True if this DateTime object represents yesterday’s date, False otherwise.

var xmas_2017 = DateTime(1514194215) # Mon Dec 25th 2017 9:30:15 AM.
print(xmas_2017.yesterday?) # False.