Hi,

Please excuse me for the off-topic question, I need this urgently, so
posting it.

How can I get the current date format? (style: DateFormat.SHORT, locale:
Default)

I used:

SimpleDateFormat formatter = new SimpleDateFormat() ;
String format = formatter.toPattern() ;

It gives:

M/d/yy hh:mm a

But what I want is *only* the date part, excluding the time part of it.

Thanks,
Suresh

**************************Disclaimer************************************************** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to