AM Designator : DateTimeFormatInfo « Date Time « VB.Net Tutorial






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
AM
11/05/2007 12:42:00 AM








5.6.DateTimeFormatInfo
5.6.1.AM Designator