This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi I've this long number,long temp=1018021774496 but I can't feed it into Date. Date date=new date(temp); it always say: E:\PROGRA~1\JRun\servers\default\demo-app\WEB-INF\classes>e:\jdk122\bin\javac -d eprecation search.java search.java:31: Integer literal out of range. Decimal int literals must be in t he range -2147483648 to 2147483647. long l=1018021079797; ^ So how can I convert that "long" number to xx/xx/xx xx:xx ? Thanks!