Geoip javascript for tomorrow date?

reggid

New member
Nov 8, 2009
141
2
0
Im using the Date javascript object and i want to change for tomorrows date but it still not showing the correct date after a few searches and mods.

Here's how it looks for todays date:

var now = new Date();
var days = new Array(
'Sunday','Monday','Tuesday',
'Wednesday','Thursday','Friday','Saturday');
var months = new Array(
'January','February','March','April','May',
'June','July','August','September','October',
'November','December');
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
function fourdigits(number) {
return (number < 1000) ? number + 1900 : number;}
today = days[now.getDay()] + ", " +
months[now.getMonth()] + " " +
date + ", " +
(fourdigits(now.getYear()));
document.write(today);

Can some help me with this?
 


I messed up with the geoip in the subject line. Just need the tweaks for the javescript date.