Current Date

suggest change

DateTime.Today is a DateTime at midnight on the current local date. ToString(), which Console.WriteLine calls, formats it with the current culture.

For example:

Console.WriteLine(DateTime.Today);

This writes today’s date in the local format.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents