Imp: removed unnecessary codes on getTime()