fork 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. DateTime dt = new DateTime(2013,4,28);
  13. string date = dt.ToString("ddd, MM/dd/yyyy", CultureInfo.InvariantCulture);
  14. Console.WriteLine(date);
  15. }
  16. }
Success #stdin #stdout 0.04s 33896KB
stdin
Standard input is empty
stdout
Sun, 04/28/2013