handles milliseconds