title: I want to mark the date, but I don't know what to do
body: <p>I have date this</p>
  <pre><code>regdate = 2021-12-02 11:30:05
  </code></pre>
  <p>I wanted to add 2 hours, so I added this code.</p>
  <pre><code>                val simpleDate = SimpleDateFormat(&quot;yyyy-MM-dd HH:mm:ss&quot;, Locale.ENGLISH)
                  val cal = Calendar.getInstance()
                  cal.time = simpleDate.parse(regdate)
                  cal.add(Calendar.HOUR, 2)
  </code></pre>
  <p>But the output value comes out like this and I'm going to ask a question.</p>
  <pre><code>13:30:05 
  </code></pre>
  <p>I want this time to this format</p>
  <pre><code>2021-12-02 13:30:05
  </code></pre>
  <p>How can I do this?</p>
  <p>Thx for your help</p>