4.1.6 How to Use the DateTime Type in C#

DateTime is a .NET Framework class in the same way List is. We can use the DateTime class to either create dates in a preferred format or use a predetermined version that is provided by the class. If you press F12 on the DateTime type we can navigate to the class and see what is available to us. The articles below cover how to implement DateTime and a few different uses for it. DateTime and TimeSpan Types Some Common DateTime and TimeSpan Functions