title: How do I create a UTCTime value using the time library in Haskell?
body: <p>I've got a year, month, day, hour and minute value (all of them are of type Int) - how can I convert these to a <code>UTCTime</code>?</p>
  
  <p>Just as <a href="https://stackoverflow.com/questions/51465700/how-do-i-create-a-utctime-from-int-values-using-the-thyme-library-in-haskell">How do I create a UTCTime from Int values, using the thyme library in Haskell?</a> but using the <code>time</code> library instead.</p>