I need to convert a unix timestamp to a date object. I tried this:
java.util.Date time = new java.util.Date(timeStamp);
Timestamp value
This is the right way:
Date date = new Date (); date.setTime((long)unix_time*1000);