Open one of your web pages using Notepad or an HTML editor.
Add the following code after the first "" tag in your HTML:
This creates an empty "div" block.
Add the following code before the closing "" tag in your HTML:
Save the document and open it in your browser. The date and time will appear in the location where you placed the "div." tag.
Change the separator variable to any character that you like. In this example, the character is a dash (-).