convert to milliseconds.