DateTimeFormatInfo.ParseExact : DateTimeFormatInfo « System.Globalization « VB.Net by API






DateTimeFormatInfo.ParseExact

  

public class Test
   public Shared Sub Main
        Dim Provider As New System.Globalization.DateTimeFormatInfo()
        Console.WriteLine(Provider.AMDesignator())
        Console.WriteLine(DateTime.ParseExact("12:42", "hh:mm", Provider))

   End Sub
End class

   
    
  








Related examples in the same category

1.DateTimeFormatInfo.AMDesignator()