Skip to content

getDay

Returns the day of the week for the specified date, according to local time.

1
myDateTimeOffset.getDay():number

Returns

An integer representing the day of the week (0-6), where 0 is Sunday.

See Also

  • https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/getDay