This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0B0AC.010495F0
Content-Type: text/plain
<script language="JavaScript1.2">
// return the date when document was last modified
var localTime = new Date(document.lastModified);
document.write("Last Modified: ");
document.write(localTime.toLocaleString())
</script>
-----Original Message-----
From: KATHLEEN.M.WHALEN@c...
[mailto:KATHLEEN.M.WHALEN@c...]
Sent: Monday, March 19, 2001 1:48 PM
To: javascript
Subject: [javascript] lastModified
Importance: High
I'm using the following script to put the date my document was modified on
to a page:
document.write(document.lastModified);
This displays the date/time in military standard. For example, "3/19/2001
13:42:49"
I would much rather prefer it be displayed as "3/19/2001 1:41:49"
Is it possible to change this? and how?
KMW --- You are currently subscribed to javascript as: ijohnson@r... To
unsubscribe send a blank email to $subst('Email.Unsub')