title: UTC time format to Normal Time format using jinja code
body: <p>I have Date Time format in mongodb in UTC format <code>1648710180871</code>. I am rendering the data in html using jinja code. How data can be formatted in jinja in YYYY-MM-DD HH:MM:SS format</p>
  <p>Data rendering is done in html like below</p>
  <pre><code>    {% for value in myData %}
      &lt;tr&gt;
          &lt;td class=&quot;urlTd&quot;&gt;
              &lt;input class=&quot;form-check-input&quot; type=&quot;checkbox&quot; value=&quot;&quot; id=&quot;flexCheckDefault&quot;&gt;
              {{ value[&quot;url&quot;] }}
          &lt;/td&gt;
          &lt;td&gt;{{ value[&quot;organization&quot;] }}&lt;/td&gt;
          &lt;td&gt;{{ value[&quot;mlval_date&quot;][&quot;$date&quot;] }}&lt;/td&gt;
          &lt;td&gt;{{ value[&quot;proc_date&quot;][&quot;$date&quot;] }}&lt;/td&gt;
      &lt;/tr&gt;
      {% endfor %}
  </code></pre>
  <p>Data is displayed in a table and Need to display <code>value[&quot;proc_date&quot;][&quot;$date&quot;]</code> in the proper format</p>