Dear Friends,
I defined these two variables as a date
Date dateWork
Date ConvertedDate
and I don't know why it gives me this error message? and doesn't accept it. how can I solve it?
ConvertedDate = formatter.format(dateWork);
Thanks,
Elahe
Error
------
Incompatible type for =. Can't convert
String to Date.
ConvertedDate = formatter.format(dateWork);
^
1 error