title: Display the current date and time using HTML and Javascript with scrollable effects in hta application
body: <p>I have the below java-script to display the current date in the given format Mon Jun 2 17:54:28 UTC+0530 2014 in a hta(html application), now I want to make this appear in a way like Welcome the current date of my system:  <strong>Mon Jun 2 17:54:28 UTC+0530 2014</strong> and this text should be a having scrollable affects for eg: one moving from right to left. </p>
  
  <p>I tried to use the below tag to get a scrollable text but how can I call this java-script variable in the <code>&lt;marquee&gt;</code> tag so that I get the today's date and time also as a part of the scrollable affects but it is not working for my HTML page. </p>
  
  <p>Kindly let me know how to rectify this issue </p>
  
  <p><strong>HTML CODE:</strong></p>
  
  <pre><code>&lt;marquee behavior="scroll" bgcolor="yellow" loop="-1" width="30%"&gt;
    &lt;i&gt;&lt;font color="blue"&gt;&lt;strong&gt;Welcome&lt;/strong&gt; Today's date is : &lt;/font&gt;&lt;/i&gt;
  &lt;/marquee&gt; 
  </code></pre>
  
  <p><strong>JAVASCRIPT TO DISPLAY THE CURRENT DATE AND TIME:</strong></p>
  
  <pre><code> &lt;script language="javascript"&gt;
   var today = new Date();
   document.write(today);
   &lt;/script&gt;
  </code></pre>