return a number of seconds parsed from string.if the string cannot be parsed, the first value is niland the second is a string describing the problem.