Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement