Overview
The date and time functions in VB 6.0 have been duplicated in the System.DateTime class. When working with this class in .NET, it’s important to keep in mind that some of the methods are used with an instance of the DateTime object and other methods are static. The static methods are called using the DateTime class, not an instance of the class. This is identified within this chapter.
VB .NET can define a variable using either the Date data type or using the DateTime data type of the .NET Framework. They are equivalent to each other. For consistency purposes, VB .NET code in this chapter will use the DateTime data type.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2002 Brian Bischof
About this chapter
Cite this chapter
Bischof, B. (2002). Date and Time Functions. In: The .NET Languages: A Quick Translation Guide. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-1136-5_14
Download citation
DOI: https://doi.org/10.1007/978-1-4302-1136-5_14
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-893115-48-4
Online ISBN: 978-1-4302-1136-5
eBook Packages: Springer Book Archive