title: DateTime on Sticky Notes
body: <p>Below is the code of <code>stick Notes</code> what I am trying to do is wanted current time stamp at sticky notes header in <code>yyyy-MM-dd HH:mm</code> format</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var today = new Date();
  var Time = '';
      if (today.getHours() &lt;= 12) {
          Time += ' AM';
      } //end if
      if (today.getHours() &gt; 12) {
          Time += ' PM';
      } //end if
  
      alert(today.getDate() + '/' + today.getMonth() + '/' + today.getFullYear() + ' ' + today.getHours() + ':' + today.getMinutes() +  Time);</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="http://jsfiddle.net/Nutvt/42/" rel="nofollow noreferrer">Sticky Notes</a></p>