title: Kotlin convert TimeStamp to DateTime
body: <p>I'm trying to find out how I can convert <code>timestamp</code> to <code>datetime</code> in Kotlin, this is very simple in Java but I cant find any equivalent of it in Kotlin.</p>
  
  <p>For example: epoch timestamp (seconds since 1970-01-01) <code>1510500494</code> ==> DateTime object <code>2017-11-12 18:28:14</code>.</p>
  
  <p>Is there any solution for this in Kotlin or do I have to use Java syntax in Kotlin? Please give me a simple sample to show how I can resolve this problem. Thanks in advance.</p>
  
  <p><a href="https://stackoverflow.com/questions/36860468/how-to-convert-utc-date-to-locale-gmt-time-on-android">this link</a> is not an answer to my question</p>