VB.Net by API/System.Globalization/DateTimeFormatInfo
Версия от 16:40, 26 мая 2010; (обсуждение)
DateTimeFormatInfo.AMDesignator()
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
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