fork(12) 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 = (DateTime?)DateTime.Now;
  13. string dateToday = string.Format("{0:d}", dt);
  14. Console.WriteLine(dateToday);
  15. }
  16. }
Success #stdin #stdout 0.04s 33792KB
stdin
Standard input is empty
stdout
9/24/2013