Use floor division when calculating milliseconds