Hi All,

The clarification i need is not

JSP Related. But i never able to find the Forum for my clarification.

Problems:

i need to enter some vaues for Years like this 1.2 or 1(1.2 years or 1 year)

in my JSP, then i need to convert that date into no of days, i am doing that by multiplying 1.2 or 1*365 days, and after that i am using oracle function round to trim decimal values and based on no of days i am performing a search in oracle, to find some results.

but multiplying with 365 days, is not the correct way, because all years are not 365 days, so can anybody give me some knowledge, how to convert it into correct no of days to the year value i am passing.

please reply me , i am in very critical stage.

Regards,

Biswa Ranjan Mishra