@spiceErrorCheck<EOL>def tparse(instring, lenout=_default_len_out):
errmsg = stypes.stringToCharP(lenout)<EOL>lenout = ctypes.c_int(lenout)<EOL>instring = stypes.stringToCharP(instring)<EOL>sp2000 = ctypes.c_double()<EOL>libspice.tparse_c(instring, lenout, ctypes.byref(sp2000), errmsg)<EOL>return sp2000.value, stypes.toPythonString(errmsg)<EOL>
Parse a time string and return seconds past the J2000
epoch on a formal calendar.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/tparse_c.html

:param instring: Input time string, UTC.
:type instring: str
:param lenout: Available space in output error message string.
:type lenout: int
:return: Equivalent UTC seconds past J2000, Descriptive error message.
:rtype: tuple