Contents

Roo

DateTime.wday

Returns the day of the week (1 = Sunday, 7 = Saturday) for this DateTime object.

var xmas_2017 = DateTime(1514194200) 
print(xmas_2017.wday) # 2