Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to get day from date(String).

As I noted in my last post, please don't ask new questins on solved Threads.


IN this case the answer to your problem is that January is Month 0.  If you want January you need:

oCalendar.set (Calendar.MONTH,00 );

New Contributor
Posts: 8
Registered: ‎01-05-2011
My Device: 8330

Re: How to get day from date(String).

Sorry for posting reply in solved thread.


Thanks for your reply. It works.


Thanks & Regards,