title: How to change datetime resolution
body: <p>Is there a simple way to state that </p>
  
  <pre><code>a = '2020-01-01 19:30:33.996628' 
  b = '2020-01-01 19:30:34' 
  </code></pre>
  
  <p><code>a</code> and <code>b</code> are equal. If the time resolution of <code>a</code> is changed to second, then <code>a</code> could be equal to <code>b</code>. How to implement it with code?</p>