title: Go: compare two time structs considering only the dates
body: <p>I'm looking for a clean way to do this in go:</p>
  
  <pre><code>package main 
  
  import(
      "fmt"
      t "time"
  )
  
  func isSameDate() bool {
      timeA, err := t.Parse("01022006 15:04", "08152016 09:00")
      timeB, err := t.Parse("01022006 15:04", "08152016 07:30")
  
      return timeA.Date == timeB.Date // This is C# code but I'm looking for something similar in GO
  }
  </code></pre>
  
  <p>Should return true</p>