Ah, it starts with 0!
Any way to make it start with 1?
(I have others who will be populating the images, and I'd like to K.I.S.S.)
And how can I also make this change sequential text files on Monday for virtual SSI includes?
I tried this, but it didn't work. I'm sure I've got something totally wrong:
var n, now= new Date(), d= new Date(now.getFullYear(), 0, 0);
while(d.getDay()!== 1) d.setDate(d.getDate()+1);
<!--#include virtual id='mondaytext' src="" -->
Last edited by LambdaEnt; 03-29-2012 at 02:00 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread