my format date MM/dd/yyyy
Now I want change my format date dd-MM-yyyy
But it does'nt work
plz hlp me
For Each itm As ListViewItem In itms '// loop thru all itms in Array.
With itm.SubItems(1).Text '// check Column2.Text
If CInt(.Substring(0, .IndexOf("/"))) = CInt(selCoolMonth) Then '// get all text prior to the first "/".
selCoolListView.Items.Add(itm)
End If
End With
Change to
If CInt(.Substring(1, .IndexOf("-"))) = CInt(selCoolMonth) Then ' Not work why
tx

New Topic/Question
Reply




MultiQuote






|