<p>Obviously I could create a <code>Calendar</code> object with the date and use <code>get(DAY)</code> on it, but knowing Groovy, I would guess there is an easier, quicker way I just don't know about?</p>

<p><strong>Answer</strong></p>

<pre><code>(date1..date2).size() == 1 // true if two dates are on same calendar day
</code></pre>

Quickly opened the Groovy In Action book and found the following sample that should help:
```
```
def today = new Date()
def yesterday = today-1
assert (yesterday..today).size() == 2
```
```