Created
July 3, 2012 22:35
-
-
Save viveleroi/3043872 to your computer and use it in GitHub Desktop.
lol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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