Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Dates and Times Summary

Dates and Times Summary

Visual Basic language keywords and run-time library members are organized by purpose and use.

Action

Language element

Get the current date or time.

Now, Today, TimeOfDay

Perform date calculations.

DateAdd, DateDiff, DatePart

Return a date.

DateSerial, DateValue, MonthName, WeekDayName

Return a time.

TimeSerial, TimeValue

Set the date or time.

DateString, TimeOfDay, TimeString, Today

Time a process.

Timer

Community Additions

ADD
Show:
© 2015 Microsoft