I use these few lines to solve it...
VB Code:
Dim niEuro As New System.Globalization.DateTimeFormatInfo Dim dd, mm, yyyy, pa As String dd = nod2.Attributes("day").Value mm = nod2.Attributes("month").Value yyyy = nod2.Attributes("year").Value pa = dd & "/" & mm & "/" & yyyy niEuro.ShortDatePattern = "dd/MM/yyyy" Dim dataEuro As Date = Date.Parse(pa, niEuro) MessageBox.Show(dataEuro)
but nemaroller, your solution is still the best..
![]()
![]()




Reply With Quote