擅长:python、mysql、java
<pre><code>logouttime = mm.fetchone()
</code></pre>
<p>它会给你一个元组中的元组</p>
<pre><code> (("10:00:00"))
</code></pre>
<p>现在你可以做任何你想做的注销时间</p>
<pre><code>>>> import datetime
>>> a = {u'loguittime': datetime.timedelta(0, 58981)}
>>> a['loguittime']
datetime.timedelta(0, 58981)
>>> d = a['loguittime']
>>> (d.days, d.seconds, d.microseconds)
(0, 58981, 0)
</code></pre>