Welcome!

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

Reply
New Contributor
Posts: 2
Registered: ‎03-20-2010
My Device: bold
My Carrier: developer

hi all i have problem in find number of day there in given two dates.

find number of day there in given two dates. that mean give two dates means calculate number of day .ex 1. 31/3/10 2. 4/4/10 my out put is 4 days finish that day .help code immeditaly.i am biggner of blackberry jde

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

Re: hi all I have problem in find number of day there in given two dates.

Welcome.  Smiley Happy

 

I think I supplied a solution for a similar requirement here:

 

http://supportforums.blackberry.com/t5/Java-Development/please-help-get-current-date-calculate-numbe...

 

In that solution, the poster seemed to have already displayed two DateFields, that the user entered the dates into.  You may need to do the same. 

 

I do not want to give you more than this even though you are a beginner.  Figuring out how to do things yourself is the best way to learn.

 

But if you have any problems with specific code, then please ask!