I cannot see from the info on your link or from your not below how this
would work. I believe also you answered my question the other week, thanks
again for that. Below is what is working. If today was the 31st of December
2003, how would a script look that would know to automatically know that
tomorrow would be 01012004?
var d = new Date();
var filename = "" + (d.getMonth() + 1) + (d.getDate()) + (d.getFullYear());
var fileextension = ".gif";
var file = filename + fileextension;
document.write("<img src=http://www.website.com/graphics/"+file+"
width='358' height='233' border='0' alt='' >");
the url below is only good for today
http://www.xatrium.com/fishing/today.htm
"Lasse Reichstein Nielsen" <lrn@hotpop.com> wrote in message
news:wu9wmo62.fsf@hotpop.com...[color=blue]
> "Smoke" <smoke@xatrium.com> writes:
>[color=green]
> > I have a successful script for determining today's date.[/color]
>
> Like
> var today = new Date();
> ?
>[color=green]
> > Does anyone have anything for determining tomorrow and the next day[/color][/color]
since it[color=blue][color=green]
> > would have to look at the day of month and month of year?[/color]
>
> The FAQ gives this link to information on dates:
> <URL:http://www.merlyn.demon.co.uk/js-dates.htm>
> If it isn't there, it's not worth knowing.
>
> To get the day after today (or after any day), do:
>
> var day = new Date();
> day.setDate(day.getDate()+1);
>
> /L
> --
> Lasse Reichstein Nielsen -
lrn@hotpop.com
> DHTML Death Colors:[/color]
<URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>[color=blue]
> 'Faith without judgement merely degrades the spirit divine.'[/color]