Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TorgoX (1933)


"Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont

Journal of TorgoX (1933)

Sunday February 20, 2005
01:30 AM

Day of the week JavaScript

[ #23266 ]
Dear Log,

A bit of JavaScript I added to my browser's start-page, to help with the many times a day when I wonder "what day is it?":

<script type="text/javascript" >
window.document.title = "Start ~~ " + (
['Sunday', 'Monday', 'Tuesday', 'Wednesday',
  'Thursday', 'Friday', 'Saturday', 'Sunday' ]
[ new Date().getDay() ]