Mega Code Archive
DateTimeFormatInfo defines how DateTime values are formatted and displayed, depending on the culture
Imports System
Imports System.Globalization
Imports Microsoft.VisualBasic
Public Class SamplesDTFI
Public Shared Sub Main()
Dim myDTFI As DateTimeFormatInfo = New CultureInfo("en-US", False).DateTimeFormat
Dim myDT As New DateTime(2010, 1, 3)
Console.WriteLine(" d {0}", myDT.ToString("d", myDTFI))
End Sub
End Class