public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("MMMM d yyyy") + " " + DateTime.Now.ToString("h:mmtt").ToLower());
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine($"{DateTime.Now.ToString("MMMM d yyyy")} {DateTime.Now.ToString("h:mmtt").ToLower()}");
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("h:mmtt"));
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("h:mmTT"));
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("h:mm t"));
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("HH:mm tt"));
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString());
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString();
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("o", CultureInfo.InvariantCulture));
    }
}

Pasted 13 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("o", CultureInfo.InvariantCulture));
    }
}

Pasted 13 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("o"));
    }
}

Pasted 13 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now().ToString("o"));
    }
}

Pasted 13 days ago