format YYYYMMDD to MM/DD/YYYY by vb.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everyone

i want to format YYYYMMDD to MM/DD/YYYY by vb.net
is there any format function for this process in vb.net

thanks for your help
 
i want to format YYYYMMDD to MM/DD/YYYY by vb.net
is there any format function for this process in vb.net


DateTime.ParseExact("20071117", "yyyyMMdd",
Nothing).ToString("MM\/dd\/yyyy")


Mattias
 
Back
Top