Thursday, August 20, 2009

JAVA - Convert Unixtimestamp to java.util.date

Solution that i got finally:

E.g.
long unixtime = new Long(1250740910) * 1000;
Date messageTime = new Date(unixtime);


*p.s. 1250740910 - the unixtimestamp


Struggling in JAVA

J2EE is very complicated. In terms of there are so many framework out there, and there are so many patterns out there, the settings and so on...
Before start to work in J2EE, you would have to have solid Object-Oriented Programming Concept, which i think i'm lacking of now.