sqlite - Android - How can I split the date format to year, month and day from String to int? -
i ask if have date dd/mm/yyyy in string format, want split int year, int month , int day, how can that.
other that, string date (dd/mm/yyyy) stored in sqlite.
you split way also
string date="dd/mm/yyyy"; string[] items1 = date.split("/"); string date1=items1[0]; string month=items1[1]; string year=items1[2];
Comments
Post a Comment