From http://stackoverflow.com/questions/10182020/how-to-get-current-time-in-google-spreadsheet-using-script-editor