What I need: I need a simple function that brings up the date, simple as that, something I can simply adjust with css as well I guess. Thanks
This inserts the current date and time into the span using the default format for the browser owner's locale.
document.getElementById('date').innerHTML = Date();
This topic is now closed. New replies are no longer allowed.