I still find it weird that we need to create `Date` objects in multiple places to return an integer...