How to get the format of a date passed as string in Java
<p>I Am passing date as string
Input: "8 Aug 2016"</p>

<p>I want output as format of above date i.e.</p>

<p>Output: DD MMM YYYY</p>

<p>Can anyone help here? </p>