thank you!
but these are not the right result as you can see, if you pass any value it allways has results look like that. i also use DateFormat class. however, i have these same results.
this is my code
import java.util.Date;
import java.text.DateFormat;
import java.util.Locale;
public class Test {
public static void main (String args[]) {
Date date = new Date(943921260L);
DateFormat format = DateFormat.getDateInstance(DateFormat.SHORT,Locale.ENGLISH);
System.out.println(format.format(date));
}
}
and this is the result
1/12/70
the right result mus has year 1999
thank you one more !