Added getCurrentTime