Tuesday, June 29, 2004

Had a chance to talk with a customer today that was moving their current application to .NET. During the course of the conversation we talked through some of the features and types within the framework. One thing that they didnít understand was that in VB 6 Date, is really a double type in disguise. Within the Framework DateTime is actually a value defined within the Framework. For examples, you can instantiate and initialize a DateTime class using the following example:

 

Dim TestDate As New DateTime(2004, 1, 31)

MsgBox(TestDate)

 

Which returns the date 1/31/2004


11:10:14 PM