Fixed typo.
Cleaned up getTimeString method.