How to convert string 21/01/2019 (dd/MM/yyyy) to Date object in same format using Java : <p>My input string is "22/12/2019" in "dd/MM/yyyy" format. I need to convert this string into Date object while retaining the format. The output still needs to be in dd/MM/yyyy format but it should be a Date object. Please advise</p>
