fork(20) download
  1. using System;
  2. using System.Globalization;
  3. using System.Linq;
  4. using System.Collections.Generic;
  5.  
  6. public class Test
  7. {
  8.  
  9.  
  10. public static void Main()
  11. {
  12. System.Threading.Thread.CurrentThread.CurrentCulture=System.Globalization.CultureInfo.CreateSpecificCulture("en-gb");
  13. Console.WriteLine(DateTime.Now.ToString("dd/MM/yyyy"));
  14. Console.WriteLine(DateTime.Now.ToString("d"));
  15. Console.WriteLine(DateTime.Now.ToShortDateString());
  16. }
  17. }
Success #stdin #stdout 0.04s 33896KB
stdin
Standard input is empty
stdout
08/04/2013
08/04/2013
08/04/2013