Dim exampleDate As Date
exampleDate = DateValue("Jun 19, 2010")
MsgBox Year(exampleDate)
DateAdd
Dim firstDate As Date, secondDate As Date
firstDate = DateValue("Jun 19, 2010")
secondDate = DateAdd("d", 3, firstDate)
MsgBox secondDate
Current Date & Time
MsgBox Now
Hour, Minute and Second
MsgBox Hour(Now)
TimeValue
MsgBox TimeValue("9:20:01 am")