Fixed function name for getting current time