day of the week from date code example
Example 1: days of the week
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
Example 2: day to week
var d = 1 // Amount of days
console.log(d/7) // Logs amount of weeks
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
var d = 1 // Amount of days
console.log(d/7) // Logs amount of weeks