Hi group, I have a table where a date like yyyy-mm-dd hh: mm: SS is displayed, and I acquire it with ListBoxPromemoria.CellTextAt (row, i). I should transform this value as a date in the format dd-mm-yyyy. But I can’t, I tried with:
Var date1 As DateTime = ListBox Reminder.CellTextAt (row, i)
messagebox (date1.ToString (Locale.Current, DateTime.FormatStyles.Short, DateTime.FormatStyles.None)).
Surely the error is due to the conversion from string (acquired from the table) to date format. How can I solve?