' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
﻿Imports System
Imports System.Globalization

Namespace DTF
    Public Class Program
        Public Shared Sub Main(args As String())
            Dim dt As DateTime = DateTime.Now
            Console.WriteLine(dt.ToString(New CultureInfo("en-US")))
            Console.WriteLine(dt.ToString(New CultureInfo("da-DK")))
            Console.WriteLine(dt.ToString(New CultureInfo("sv-SE")))
            Console.WriteLine(dt.ToString("d", New CultureInfo("en-US")))
            Console.WriteLine(dt.ToString("d", New CultureInfo("da-DK")))
            Console.WriteLine(dt.ToString("d", New CultureInfo("sv-SE")))
        End Sub
    End Class
End Namespace
