I want to get the SystemDate in this specific format "yyyy-MM-dd".If i do this with format() method in SimpleDateFormat Class the return type is String.If i use the parse method of the same Class then again the actual SystemDate is returned(but not the formatted form)
But, I want the final result to be of Type Date.i.e. I want to get the System Date displayed in the above specified format and the type of the result should be Date.