get seconds as int instread of float