title: How to convert epoch/unix time in Julia dataframe?
body: <p>I am trying to find solution to convert <code>df[!, r&quot;TimeStamp&quot;]</code> , which is <strong>unix</strong> or <strong>epoch</strong> time, to datetime format with <strong>plus 9 hours</strong>, such as <code>pd.to_datetime(df[&quot;TimeStamp&quot;], unit = &quot;ms&quot;) </code> in Python.</p>
  <p>Here example of <code>Julia</code> dataframe :</p>
  <pre><code>df = DataFrame(TimeStamp = [1632868171713,1632868172713,1632868173713], 
                 Roll = [-1.1, -2, 1],
                 Pitch =[-1, -1, 3.1],
                 Yaw = [-1, -4.2, 2],
                 )
  </code></pre>
  <p>and, below is expected output.</p>
  <pre><code>    TimeStamp                  Roll     Pitch   Yaw
      Date                       Float64  Float64 Float64
  1   2021-09-29 07:29:31.713    -1.1     -1.0    -1.0
  2   2021-09-29 07:29:32.713    -2.0     -1.0    -4.2
  3   2021-09-29 07:29:33.713     1.0      3.1    2.0
  </code></pre>
  <p>Update:</p>
  <p>I have solution with <code>unix2datetime()</code> with using <strong>for loops</strong>, with @
  MrFuppes helps,
  but wonder if there is function like <code>pd.to_datetime</code> and <code>timedelta(hours = 9)</code> in Julia.</p>