which day of week is today code example Example: day to week Click to copyvar d = 1 // Amount of days console.log(d/7) // Logs amount of weeks