Displaying date in HTML page

Solved
Hello,
I'm trying to insert today's date into an HTML page. Everything that has been suggested to me in forums doesn't work. But it must certainly depend on me, as I'm a beginner in HTML.
How can I insert today's date into an HTML page using NVU?
Thank you for any response
Sincerely
Configuration: Windows XP Internet Explorer 7.0

5 answers

  1. Contributor
    Hello,

    In HTML, this is not possible.
    You have to use scripts.
    In Javascript, in PHP…

    For example :
     <script type="text/javascript">     d = new Date();   document.write("<p>Today is: <span style='color:#8aa;'>");   document.write(d.toLocaleDateString());   document.write("</span></p>"); </script> 

    How do you do it?

    --
    3