title: Time Trigger in Google Apps Script on date and time
body: <p>In Google apps script it is possible to create timetrigger on a specific date and time. Excactly on that moment the trigger fires. Great!</p>
  <p>The question is what is the code in apps script of this trigger?</p>
  <p>Following code will fire somewhere between 9:00 and 10</p>
  <pre><code> ScriptApp.newTrigger(&quot;function&quot;)
  .timeBased()
  .onWeekDay(ScriptApp.WeekDay.MONDAY)
  .atHour(9)
  .create();
  </code></pre>
  <p>Following code fires somewhere between 9:00 and 10 too.</p>
  <pre><code> ScriptApp.newTrigger(&quot;function&quot;)
  .timeBased()
  .onWeekDay(ScriptApp.WeekDay.MONDAY)
  .atHour(9)
  .nearMinute(12)
  .create();
  </code></pre>
  <p>.atMinute does not exist in apps script.</p>
  <p>So who knows the code of the manual trigger on specific date and time?</p>