X
[XaToA]
hello for formating the date in timestamp format i have make this:
SimpleDateFormat fechabase = new SimpleDateFormat("yy-MM-dd hh:mm:ss.nn");
String strhoy = fechabase.format(new Date());
but the format (yy-MM-dd hh:mm:ss.nn) is worng, in the n is the error.
th timestamp is :
2003-03-03 00:00:00.0
how can i make for getting one timestamp format?
thanks
SimpleDateFormat fechabase = new SimpleDateFormat("yy-MM-dd hh:mm:ss.nn");
String strhoy = fechabase.format(new Date());
but the format (yy-MM-dd hh:mm:ss.nn) is worng, in the n is the error.
th timestamp is :
2003-03-03 00:00:00.0
how can i make for getting one timestamp format?
thanks