switch (new date().getday())

JavaScript
switch (new Date().getDay()) {
Source

Also in JavaScript: