Murach's Visual Basic 2008
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.

Chapter 9 How to work with dates and strings
How to work with dates and times 264
How to create a DateTime value 264
How to get the current date and time 266
How to format DateTime values 266
How to get information about dates and times 268
How to perform operations on dates and times 270
How to use Visual Basic properties and functions to work with dates and times 272
How to work with strings 274
The properties and methods of the String class 274
Code examples that work with strings 276
More examples that work with strings 278
Two procedures for validating user entries 280
How to use the StringBuilder class 282
How to use the Visual Basic functions to work with strings 284
How to format numbers, dates, and times 286
How to format numbers 286
How to format dates and times 288




Murach's VB 2008

Learn more about this book

View the table of contents

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.