[ad_1]
Use
String str = String.format("%tM", date );
You get the exception because you try to convert a String “Current Date/Time : xx” to a number;
1
[ad_2]
solved How i convert String to int? [duplicate]
[ad_1]
Use
String str = String.format("%tM", date );
You get the exception because you try to convert a String “Current Date/Time : xx” to a number;
1
[ad_2]
solved How i convert String to int? [duplicate]