fork(10) download
  1. using System;
  2. using System.Globalization;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. object value = new DateTime(2003,12,23,6,22,30);
  9. DateTime result = (DateTime)value;
  10. Console.WriteLine(result.ToString("dd/MM/yyyy", CultureInfo.InvariantCulture));
  11.  
  12. }
  13. }
Success #stdin #stdout 0.03s 33880KB
stdin
Standard input is empty
stdout
23/12/2003