cryoburned
Programmer
I'm trying to get this script to work:
var year = time.getYear();
var months = time.getMonth();
var days = time.getDate();
var prestamp = Math.ceil((year*10000)+(months*1000)+days);
var posteddate = 20061121;
document.write(Math.ceil(prestamp-posteddate));
Basically it should put November 23, 2006 - November 21, 2006 = 2 by using date stamps (20061123-20061121=2) But in IE and FF nothing shows up.. its just blank.. Suggestions?
var year = time.getYear();
var months = time.getMonth();
var days = time.getDate();
var prestamp = Math.ceil((year*10000)+(months*1000)+days);
var posteddate = 20061121;
document.write(Math.ceil(prestamp-posteddate));
Basically it should put November 23, 2006 - November 21, 2006 = 2 by using date stamps (20061123-20061121=2) But in IE and FF nothing shows up.. its just blank.. Suggestions?