A nice way to create time objects from integers.