|kbramprasath ||04-01-2010 04:50 AM |
hi please help me find number of day there in given two dates in string format
find number of day there in given two dates. that mean give two dates means one is current date another one is get in string format month and date only there, calculate number of day .ex 1. 31/3/10 2. 4/4 my out put is 4 days finish that day .help code immediatly.
|vivartpandey ||04-01-2010 05:51 AM |
i think you have to parse date manually and after that you can create date object.
// for date 31/3/10
monthnum = 3;
daynum = 31;
year = 10;
Calendar getCal = Calendar.getInstance();
getCal.set (Calendar.MONTH,monthnum );
Date date = getCal.getTime();
|Dubdub ||04-01-2010 08:29 AM |
Please do not double post. This thread is closed.
|All times are GMT -5. The time now is 12:53 PM. || |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.