Contents

Roo

DateTime.sunday?

Returns True if this DateTime object is a Sunday, False if not.

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