using System.Globalization;
using System.Collections;
public static void Main()
Hashtable dateFormat = new Hashtable
foreach(var key in dateFormat.Keys)
Console.WriteLine(DateTime.Now.ToString(key.ToString()));
Console.WriteLine(DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss"));