function write_time() { document.write("22:48 Saturday 20 Jan 2018"); } write_time();