Was returning microseconds, not milliseconds. Fixed.