title: Bash convert epoch to date, showing wrong time
body: <p>How come date is converting to wrong time?</p>
  
  <pre><code>result=$(ls /path/to/file/File.*)
  #/path/to/file/File.1361234760790
  
  currentIndexTime=${result##*.}
  echo "$currentIndexTime"
  #1361234760790
  
  date -d@"$currentIndexTime"
  #Tue 24 Oct 45105 10:53:10 PM GMT
  </code></pre>