Sridhar Santhanakrishnan wrote:
Vic Hood wrote:Any idea on how I could convert the value in dtVar to the same as that of strdateVar??As the value of dtVar needs to be set into a bean of return type Date.
dtVar and strdateVar have the same values. Its just the representation that is different.
As dtVar is a Date object, you can use it directly to set the values of the bean property.
yes ,Sure if it had the right value , if you read my post correctly ..
the value of strdateVar is --06-Jun-2011
The value of dtVar is of the form --Mon Jun 06 00:00:00 IST 2011
So you see I cant use it??