property MarkTime.Time as Date
Specifies the date/time of the marking time.

TypeDescription
Date A DATE expression that specifies the date and time where the timer should be displayed.
The Time parameter of the Add method initializes the Time property. The Time property indicates the date and time to display the timer, or it indicates the position in the schedule view. You can display the timer's DATE and Time using the Label property. For instance the Label on "<%loc_sdate%> at <%hh%>:<%nn%>", displays the timer's DATE and TIME. The Movable property indicates whether the timer is moveable or fixed. The AllowMoveMarkTime property indicates the keys to allow user to move timers ( with the Movable property on True ). The LayoutStartChanging(exScheduleMoveMarkTime) event notifies once the user is about to move a timer. The MarkTimeFromPoint property indicates the timer from the cursor. The LayoutEndChanging(exScheduleMoveMarkTime) event notifies your application once a MarkTime object is moved, at runtime.

The following snippet of code shows how to get notified once the user moves at runtime the timer. The sample holds the timer from the cursor once the LayoutStartChanging( exScheduleMoveMarkTime) event occurs, and when the LayoutEndChanging( exScheduleMoveMarkTime) event is fired, the previously saved timer, is displayed with the new time.

Dim mtChange As MarkTime
Private Sub Schedule1_LayoutStartChanging(ByVal Operation As EXSCHEDULELibCtl.LayoutChangingEnum)
    If (Operation = exScheduleMoveMarkTime) Then
        Set mtChange = Schedule1.MarkTimeFromPoint(-1, -1)
    End If
End Sub

Private Sub Schedule1_LayoutEndChanging(ByVal Operation As EXSCHEDULELibCtl.LayoutChangingEnum)
    If (Operation = exScheduleMoveMarkTime) Then
        If Not (mtChange Is Nothing) Then
            Debug.Print "Timer has been moved to " & mtChange.Time
        End If
    End If
End Sub