fixed date format bug. Added simple utility methods
Make FormatMilliseconds a public function.