This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: <MsSinceMidnight1Jan1970>1009843200000</MsSinceMidnight1Jan1970>
- From: Dan Diebolt <dandiebolt at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 17 Apr 2002 09:58:52 -0700 (PDT)
- Subject: RE: [xsl] <MsSinceMidnight1Jan1970>1009843200000</MsSinceMidnight1Jan1970>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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