GetEndDate
Definition
This is a function of the SAPCalendar.Calendar library. It retrieves the ending date of a selection in the calendar during runtime.
Use
This function is used to retrieve the end date of a particular selection. If the selection is over a period of days, the date of the last day is retrieved. If an appointment or event is selected, its last date is retrieved.
Structure
The GetEndDate function has the following characteristics:
Name
GetEndDate
Signature
Function GetEndDate() As Date
Return Value
Date
Example
Assume that the selection is 12 th August 2002 to 27 th August 2002 in the Month view. This function will return the date as 27 th August 2002.
In the result of this function, dtEndDate will contain 27 th August 2002.
See also: