Add secondstime

added missing secondstime function