From server, I am getting valid date for some values in object, But I don't know for which field I will get number and for which field I will get date.
I tried with this question and its answers, It was giving correct result for string and dates, but now It is treating number as date. Any other solution to avoid treating number as date?
This question is to parse the date in different format. And my question is about distinguishing between date and number string. And performing operations on only date strings.
I am getting date in yyyy-MM-ddThh:mm:ss+Z.