Added formatTime and getFormattedTime. Still working on getFormattedTime.