title: How to use getHour() to get current hour in kotlin
body: <pre><code>fun getHours() = int
      val openHours = 7
      val now = getHours()
      val office: String
      office = if (now &gt; 7){
          "Office already open"
      } else if(now == openHours){
          "wait a minute, office will be open"
      }else{
          "office is closed"
      }
      println(office)
  </code></pre>
  
  <p>The following code doesn't seem to get me the current hour from my computer, what am I missing?</p>