Date and Time Controls
You can display the date and time in your applications by using controls such as the DateTimePicker and MonthCalendar controls. This topic is designed to help you find code that demonstrates how to perform common tasks by using these controls.
In This Section
How to: Display the Date and Time in Your Application
Describes how to format and display the date and time in a Windows Form application.How to: Select a Range of Dates in a Calendar Control
Demonstrates how to select a range of dates in a Windows Forms MonthCalendar control.How to: Display the Time in a Label
Demonstrates how to display the current time in the status bar of an application.How to: Determine the Span Between Two Dates
Demonstrates how to calculate the difference in days between two dates and construct a TimeSpan value for that difference.
Related Sections
Designing a User Interface in Visual C#
Explains how to use the Windows Forms Designer and Toolbox to create a user interface.Visual C# Express
Provides an introduction to documentation that helps you use Express editions of Visual Studio.Using the Visual C# Express IDE
Provides links to topics that explain how to use the integrated development environment (IDE).