you're using the same pattern of datetimes in multiple places, would it make sense to define them once so it's clearer to the reader what you're doing?