A
Anole
I wonder if somebody with patience for a novice could help me translate the
following to days or weeks from months:
now = new Date();
visitMonth = now.getMonth();
if(visitMonth <"10"){visitMonth="0"+visitMonth}
thisVisit = now.getYear() +""+ visitMonth +""+ now.getDate();
thisYear = publishDate.slice(6,10);
thisMonth = publishDate.slice(3,5);
thisDate = publishDate.slice(0,2);
thisPubl = thisYear + thisMonth + thisDate;
If you don't want to make it too easy, you could just give me some good
"hints"...
Thanks in advance...
anole
following to days or weeks from months:
now = new Date();
visitMonth = now.getMonth();
if(visitMonth <"10"){visitMonth="0"+visitMonth}
thisVisit = now.getYear() +""+ visitMonth +""+ now.getDate();
thisYear = publishDate.slice(6,10);
thisMonth = publishDate.slice(3,5);
thisDate = publishDate.slice(0,2);
thisPubl = thisYear + thisMonth + thisDate;
If you don't want to make it too easy, you could just give me some good
"hints"...
Thanks in advance...
anole