on 04-30-2005 6:18 AM
dear colleagues
Is there a function module to convert date from 28-04-2005
to 28042005
kind regards
kaushik hegde
Hi,
You can try the following
Calendar cal = Calendar.getInstance(TimeZone.getDefault());
String DATE_FORMAT = "MM.dd.yyyy";
java.text.SimpleDateFormat sdf =new java.text.SimpleDateFormat(DATE_FORMAT);
sdf.setTimeZone(TimeZone.getDefault());
System.out.println("Now : " + sdf.format(cal.getTime()));
Regards, VIP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sorry about my previous memo,
I want to convert date from 28-05-2005 to 28.05.2005
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.