views:

1800

answers:

2

Hi

I would like to format a J2ME Date object to only show the date part, not the date and time. What would be the easiest way? Would probably need to include an external library to do this. Any suggestions?

Kind regards, IanG

+1  A: 

java.util.Calendar has all the methods required to format a date output.

look for calendar there for examples : http://www.ibm.com/developerworks/library/wi-rms/
Jean
A: 

The package java.text is not available in J2ME.