How to start programming in C# Windows Form Programming Quite easy and interesting love it

please any query post questions to me i response u soon !! i hope u may like my tutorials !!

Pages

  • Home
  • C++ Blog
  • ASP.NET BLOG
  • Masm Programming
  • Follow me at Twitter
  • About Me

Monday, 29 March 2021

C# How to get Current Date Time from System

 

 void Main()
{
    string ab = Convert.ToString(DateTime.Now);
    ab.Dump();
}

Posted by Umar Javed at 09:02
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2013 (31)
    • ►  May (19)
    • ►  June (6)
    • ►  July (1)
    • ►  October (2)
    • ►  November (3)
  • ►  2014 (8)
    • ►  January (1)
    • ►  March (2)
    • ►  June (1)
    • ►  August (2)
    • ►  October (2)
  • ▼  2021 (6)
    • ▼  March (4)
      • How to Sort Time 12Hrs Format in C# using List
      • C# How to get Current Date Time from System
      • C# how to calculate size / length of array
      • C# find number in array using foreach loop
    • ►  April (2)
  • ►  2023 (2)
    • ►  July (1)
    • ►  November (1)

About Me

Umar Javed
View my complete profile
UMAR JAVED's umarjaved01@gmail.com. Picture Window theme. Powered by Blogger.