title: Converting a UNIX epoch to a Date Object
body: <p>I am trying to convert a supposedly UNIX epoch (obtained from GPS) to date object in R. I tried to use the following code, but I got an unrealistic answer as a result (shown below). Could anybody tell me what type of UNIX this is and how to convert it ?</p>
  
  <pre><code>x &lt;- 2.01604*10^13 # Unix epoch I need to convert
  
  as.POSIXct(as.numeric(as.character(x)), origin="1970-01-01", tz="Asia/Shanghai")
  
  &gt; &gt; "640827-08-24 07:06:40 CST" # result
  </code></pre>