using System;
public class Test
{
public static void Main()
{
DateTime fecha = new DateTime(2013, 3, 22, 19, 13, 31);
// Round-trippable: o
Console.WriteLine(fecha.ToString("o"));
// Estándar RFC 1123: r, R
Console.WriteLine(fecha.ToString("r"));
// ISO 8601, ordenable: s
Console.WriteLine(fecha.ToString("s"));
// Ordenamiento universal: u
Console.WriteLine(fecha.ToString("u"));
// UTC: U
Console.WriteLine(fecha.ToString("U"));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCURhdGVUaW1lIGZlY2hhID0gbmV3IERhdGVUaW1lKDIwMTMsIDMsIDIyLCAxOSwgMTMsIDMxKTsKCgkJLy8gUm91bmQtdHJpcHBhYmxlOiBvIAoJCUNvbnNvbGUuV3JpdGVMaW5lKGZlY2hhLlRvU3RyaW5nKCJvIikpOwoJCQoJCS8vIEVzdMOhbmRhciBSRkMgMTEyMzogciwgUiAKCQlDb25zb2xlLldyaXRlTGluZShmZWNoYS5Ub1N0cmluZygiciIpKTsKCQkKCQkvLyBJU08gODYwMSwgb3JkZW5hYmxlOiBzIAoJCUNvbnNvbGUuV3JpdGVMaW5lKGZlY2hhLlRvU3RyaW5nKCJzIikpOwoJCQoJCS8vIE9yZGVuYW1pZW50byB1bml2ZXJzYWw6IHUgCgkJQ29uc29sZS5Xcml0ZUxpbmUoZmVjaGEuVG9TdHJpbmcoInUiKSk7CgkJCgkJLy8gVVRDOiBVIAoJCUNvbnNvbGUuV3JpdGVMaW5lKGZlY2hhLlRvU3RyaW5nKCJVIikpOwoJfQp9