expose getCurrentTime to external interface