Dates and Times Summary (Visual Basic)


Updated: July 20, 2015

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

ActionLanguage 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

Visual Basic Runtime Library Members