-2

Is there any other way to get custom date in android except that java date picker

Vikram singh
  • 343
  • 1
  • 3
  • 15
  • have you ever seen this : http://stackoverflow.com/questions/5393847/how-can-i-convert-a-timestamp-from-yyyy-mm-ddthhmmsssssz-format-to-mm-dd-yyyy – Milad Faridnia Mar 12 '15 at 07:51
  • 1
    Hi Milad sorry for late reply . I got the answer .I used java code for getting date .After that i simply split the string according to our requirement – Vikram singh Nov 13 '15 at 06:42

1 Answers1

1

It means that you're trying to parse a date that doesn't match the pattern you choose. You should have a look at the simple date documentation to see which pattern you need: http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

This link might help too: http://developer.android.com/reference/java/text/SimpleDateFormat.html

Jejefcgb
  • 390
  • 3
  • 14