Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SimpleDateFormat fechaFormateada = new SimpleDateFormat(“dd-MM-yyyy”);
- String strFecha = “21-01-2017”; //Esta es la fecha que vas obtuviste del picker
- Date fecha = null;
- fecha = fechaFormateada.parse(strFecha);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement