java时间戳转换public class Trans {
static void main(String[] args) throws ParseException {
SimpleDateFormat( “yyyy-MM-dd HH:mm:ss” );
times:”+date.getTime());
System.out.print(new SimpleDateFormat( “yyyy-MM-dd HH:mm:ss” ).parse(“1988-04-11
00:00:00″).getTime());
SimpleDateFormat( “yyyy-MM-dd HH:mm:ss” );
String(Date):”+d);
System.out.println(“Format To Date:”+date);
}