Simple date function?

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 :slight_smile:

This inserts the current date and time into the span using the default format for the browser ownerโ€™s locale.

<span id="date"></span>
document.getElementById('date').innerHTML = Date();