title: How to test if a given time-stamp is in seconds or milliseconds?
body: <p>Assume a given variable, it is containing a <code>UNIX</code> time-stamp, but whether it is in seconds or milliseconds  format is unknown, I want to assign to a variable which is in seconds format</p>
  <h3>For Example:</h3>
  <pre><code>unknown = 1398494489444 # This is millisecond
  t = ???
  </code></pre>
  <p>Updated: I understand it is not possible to tell without giving some limitations, so here is it</p>
  <ul>
  <li>current_ts - 86400 * 365 &lt; unknown &lt; current_ts</li>
  </ul>
  <p><code>Assume current_ts = current unix timestamp</code></p>