Is it possible to convert System.currentTimeinMillis to Date
<p>I have a Field in Mongo DB called as updated_at</p>

<p>Which will look in DB this way </p>

<p>updated_at : NumberLong("1355754242785")</p>

<p>This Updated_at filed is created in Database this way </p>

<p>long now = System.currentTimeMillis();</p>

<p>From one of the DB Record , i have taken a value as </p>

<pre><code>updated_at" : NumberLong("1355754242785"), "volatility12" : "na", "vwap" : "0", "wk52hi" : "0", "wk52hidate" : "----"}
</code></pre>

<p>For example say its value is 1355754242785</p>

<p>Is it possible to convert the 1355754242785 , when this was Updated ??</p>

<p>When i tried converting </p>

<pre><code>public class Aim {
    public static void main(String[] args) {
        DateFormat formatter = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss.SSS");
        long now = 1355754242785; // Error here saying out of range 
        Calendar calendar = Calendar.getInstance();
        calendar.setTimeInMillis(now);
        System.out.println(now + " = " + formatter.format(calendar.getTime()));
    }
}
</code></pre>
