Daniel Matthew

Get The Day Of The Week In JavaScript

var now = new Date();
var day = now.getDay();
// 1 (Monday)

It might not straight up give us "Monday", but it's a useful method to know.

Daniel is a front-end developer at Talis, with an interest in accessibility, performance, and web components.