Changes

Jump to: navigation, search

Working with Dates and Times in Visual Basic

19 bytes added, 19:26, 2 August 2007
Accessing the Date and Time
</pre>
== Accessing the Date and Time in a Date Variable ==
The simplest way to obtain the current setting of a Date variable is simply to reference the Date as you would any other variable, using the variable name. For example, the following Visual Basic code excerpt will display the current setting of the Date variable in a MessageBox:

Navigation menu