title: How to get the current time in UTC, add some minutes to it and the convert it to a specified format in Kotlin
body: <p>I found different topics on this subject but couldn't find a proper solution to my problem yet. How can I get the current UTC time, add for example 60 minutes to it, and the display it in this format: <strong>HH:mm:ss</strong> ? Is it possible? Thanks</p>
  <p>I used this to get the UTC time, but I don't know how to add minutes to it and the change the format to display:</p>
  <pre class="lang-kotlin prettyprint-override"><code>val df: DateFormat = DateFormat.getTimeInstance()
  df.timeZone = TimeZone.getTimeZone(&quot;utc&quot;)
  val utcTime: String = df.format(Date())
  </code></pre>
  <p>I also tried this function but it displays the current time from the device:</p>
  <pre class="lang-kotlin prettyprint-override"><code>fun getDate(milliSeconds: Long, dateFormat: String?): String? {
      val formatter = SimpleDateFormat(dateFormat)
      val calendar = Calendar.getInstance()
      calendar.timeInMillis = milliSeconds
      return formatter.format(calendar.time)
  }
  </code></pre>