Subject: RE: <MsSinceMidnight1Jan1970>1009843200000</MsSinceMidnight1Jan1970>
From: Dan Diebolt <dandiebolt@xxxxxxxxx>
Date: Wed, 17 Apr 2002 09:58:52 -0700 (PDT)
|
I would need to do this to every instance of <MsSinceMidnight1Jan1970>
not just the one with a specific id. BTW, the following code displays
NaN for me:
<html>
<head>
<script language="JavaScript">
function fixupDates(obj){
var d = new Date(obj.innerHTML);
obj.innerHTML = d.toString();
}
</script>
</head>
<body onload="fixupDates(document.getElementById('theDateField'))">
<div id="theDateField">1009843200000</div>
</body>
</html>
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|