Working with times and dates is a common task. You may want to check if a file has changed since last you looked, test how long an operation takes to complete, or work out some kind of schedule for future activities. C# and the .NET Framework Class Library have extensive support for measuring and managing time and dates. This chapter starts with support for measuring small amounts of time very accurately and moves on to the mainstays of time representation, the
System.DateTime structures. Table 22-1 provides the summary for this chapter.