int time = 1345101858; long realTime = time *1000;
realTime的值并不是等于1345101858000 而是等于 777094352,
应该将 time的类型也改为 long 才正确