title: How to display Date?
body: <p>I am using the following code to display the date in the front-end screen:</p>
  
  <pre><code>&lt;h4&gt; Date :
          &lt;script language="JavaScript"&gt;
              date=Date()
              document.write(date)
          &lt;/script&gt;
  &lt;/h4&gt;   
  </code></pre>
  
  <p>Here <code>h4</code> is the tag in CSS. 
  Here is the code for <code>h4</code> in CSS file:</p>
  
  <p>It is displaying the date in local machine. But when I deployed the project to the server machine it is not working. </p>