Advertisement
JOHNYTHEWINNER

Current date and Time

May 15th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1. using System;
  2.                    
  3. public class Program
  4. {
  5.     public static void Main()
  6.     {
  7.  
  8.         DateTime time = DateTime.Now;            
  9.         string format = "d.MM.yyyy ddd  HH:mm";    
  10.         Console.WriteLine(time.ToString(format));  
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement