Skip to content

Instantly share code, notes, and snippets.

@viveleroi
Created July 3, 2012 22:35
Show Gist options
  • Save viveleroi/3043872 to your computer and use it in GitHub Desktop.
Save viveleroi/3043872 to your computer and use it in GitHub Desktop.
lol
// script written by Mike Botsko 1999, for JazBot/OMVK
RightNow = new Date();
var janet = RightNow.getDate();
var bob = RightNow.getYear() + 1900;
var charlie = RightNow.getMonth() + 1;
var mike = RightNow.getDay();
var sue = new Array(7)
sue[0] = "Sunday"
sue[1] = "Monday"
sue[2] = "Tuesday"
sue[3] = "Wednesday"
sue[4] = "Thursday"
sue[5] = "Friday"
sue[6] = "Saturday"
var kazix = new Array(13)
kazix[0] = "null"
kazix[1] = "January"
kazix[2] = "February"
kazix[3] = "March"
kazix[4] = "April"
kazix[5] = "May"
kazix[6] = "June"
kazix[7] = "July"
kazix[8] = "August"
kazix[9] = "September"
kazix[10] = "October"
kazix[11] = "November"
kazix[12] = "December"
document.write("" + sue[mike] + ", " + kazix[charlie] + " " + janet + ", " + bob + "")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment