Contents

Roo

DateTime.monday?

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

var xmas_2017 = DateTime(1514194200) # Mon Dec 25th 2017.
print(xmas_2017.monday?) # True.