controlling the time externally - get current time