Murach's C# - How to work with dates and strings
First, this chapter shows you how to use the properties and methods of the DateTime
structure to work with dates and times. Then, this chapter shows you how to use the
properties and methods of the String and StringBuilder classes to manipulate the data
in strings, to validate user entries, and to format numbers, dates, and times.
|
|
|
|
How to create a DateTime value |
236 |
|
How to get the current date and time |
238 |
|
How to format DateTime values |
238 |
|
How to get information about dates and
times |
240 |
|
How to perform operations on dates and
times |
242 |
|
|
The properties and methods of the String
class |
244 |
|
Code examples that work with strings |
246 |
|
More code examples that work with strings |
248 |
|
Two methods for validating user entries |
250 |
|
How to use the StringBuilder class |
252 |
|
|
How to format numbers |
254 |
|
How to format dates and times |
256 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|