title: How to get the current time in Google spreadsheet using script editor?
body: <p>There is an option to write a script and bind it to a trigger. The question is, how to get the current time in the script body?</p>
  
  <pre><code>function myFunction() {
  
    var currentTime = // &lt;&lt;???
  
  }
  </code></pre>