Added a new time function getTimeNow()