title: Converting Date to String in SimpleDateFormat
body: <p>I want to convert the date format to string, but the string output is not coming</p>
  
  <pre><code>  DateFormat currentDate = new SimpleDateFormat("dd MM yyyy ");
    String currDateString = String.valueOf(currentDate);
    System.out.println(currDateString);
  </code></pre>