fixed getTime() return statment