Format required: Tue Aug 07 12:02:05 2007
and to be displayed after the page loads.
For formatting, you can do it yourself using the Date object or just use a library.
Use a div:
[HTML]<div id="displayDate Time"></div>[/HTML] and whenever you require the date/time to be displayed, format the current date/time and display using:
[CODE=javascript]document.getEle mentById("displ ayDateTime").in nerHTML=formatt eddate;[/CODE]
formatteddate you need this to actually be your formatted date
[CODE=javascript]
var formatteddate = new Date();
formatteddate = formatteddate.f ormat('M jS, Y');
[/CODE]
Comment