|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: <MsSinceMidnight1Jan1970>1009843200000</MsSinceMid
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








