- 1
- 2
- 3
- 4
- 5
var today = new Date();
var d_names = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var m_names = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var d_postfix = new Array("never_used","st", "nd", "rd", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th", "th", "th");
document.write(d_names[today.getDay()]+", "+m_names[today.getMonth()]+" "+today.getDate()+d_postfix[today.getDate()]+", "+today.getFullYear());
guest 21.02.2010 17:18 # −1
wvxvw 21.02.2010 17:42 # 0
guest 24.02.2010 10:37 # 0
guest 21.02.2010 17:25 # 0
guest 21.02.2010 17:29 # +2
guest 21.02.2010 19:23 # 0
Сан Саныч 21.02.2010 23:38 # +2
guest 22.02.2010 13:55 # 0
guest 22.02.2010 14:46 # 0
wvxvw 22.02.2010 17:20 # 0
murz 22.02.2010 17:46 # 0
murz 22.02.2010 17:50 # 0
А был бы Плутон планетой, то у него - 248,09 лет