I am new to using DateTimeFormatter package, and same thing we are able to get uisng SimpleDateFormat here is the reference
Date date = new SimpleDateFormat(&