Update getTimeNow() to a static method