title: How to know pattern of string date in kotlin
body: <p>I want to convert in <code>ZonedDateTime</code>. How can I recognise pattern to pass in <code>DateTimeFormatter.ofPattern(????????)</code>.</p>
  <pre><code>val string = &quot;May 9, 2020 8:09:03 PM&quot;
  
  private fun getFormatDate(date: String): ZonedDateTime {
       val dateTimeFormatter = DateTimeFormatter.ofPattern(????????)
       return ZonedDateTime.parse(date, dateTimeFormatter)
  }
  </code></pre>
  <p>Many Thanks</p>