Hi,i want to convert date from dd-MM-yyyy to yyyy-MM-dd in vb.net.Dim fromDt As Date = txtFrom.Text Dim fdt As String = Format(fromDt, "yyyy-MM-dd") but it is giving me in format yyyy-dd-MMPlz help me ...