Not only does Visual Basic let you store date and time information in the specific Date data type, it also provides a lot of date- and time-related functions. These functions are very important in all business applications and deserve an in-depth look.
Strictly speaking, Date and Time aren't functions: They're properties. In fact, you can use them to either retrieve the current date and time (as Date values) or assign new values to them to modify the system settings:
Print Date & " " & Time ' Displays "8/14/98 8:35:48 P.M.". ' Set a new system date using any valid date format. Date = "10/14/98" Date = "October 14, 1998"
To help you compare the outcome of all date and time ...