Examples: CurrentCalendarDateTime property
This example of an action for a calendar view displays the date and time of the region that is currently selected.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Messagebox workspace.CurrentCalendarDateTime,, _
"Date and time for the current region"
End Sub