title: How can I find the data between two specific times in SQL
body: <p>I need to run a query that finds all login dates (<code>dd/mm/yyyy</code>) and times (<code>hh.mm</code>) that occurred between 2am yesterday and 2am today. The login time in the database is formatted as <code>mm-dd-yyyy hh.mm.ss</code>.</p>
  
  <p>I have tried multiple <code>select</code> and <code>between</code> queries that either return data on the wrong day or outside the time spans.</p>