Simplify getMinutes()

Slightly simplifies `getMinutes()` function