title: How can I format time to a dayjs object?
body: <p>I have the following code</p>
  <pre class="lang-js prettyprint-override"><code>
  import dayjs from 'dayjs'
  
  const abc = dayjs(&quot;09:00:00&quot;)
  console.log(abc)
  
  </code></pre>
  <p>abc in console is</p>
  <p><a href="https://i.stack.imgur.com/QO0KO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QO0KO.png" alt="an invalid date" /></a></p>
  <p>how can I make this into a valid date, the condition being the input is always going to be in format &quot;09:00:00&quot;</p>