Make FormatMilliseconds a public function.