title: Python/Discord.py remove milliseconds from time.time()
body: <p>I did this for my python Discord bot (basically it's a voice activity tracker), everything works fine but I want to remove the milliseconds from <code>total_time</code>. I would like to get something in this format <code>'%H:%M:%S'</code></p>
  <p>Is this possible ?</p>
  <p>Here's a part of the code:</p>
  <pre class="lang-py prettyprint-override"><code>        if(before.channel == None):
              join_time = round(time.time())
              userdata[&quot;join_time&quot;] = join_time
          elif(after.channel == None):
              if(userdata[&quot;join_time&quot;] == None): return 
              userdata = voice_data[guild_id][new_user]
              leave_time = time.time()
              passed_time = leave_time - userdata[&quot;join_time&quot;]
              userdata[&quot;total_time&quot;] += passed_time
              userdata[&quot;join_time&quot;] = None
  </code></pre>
  <p>And here's the output:</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;total_time&quot;: 7.4658853358879,
  }
  </code></pre>