javascript get de day of the week from date code example Example: javascript get day var d = new Date(); var n = d.getDay();