UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
Date Property (ICalendar)
Either the date or the start date of the date range associated with this object. Note:
- In case a date range is selected, the Date property will return the start date of the range.

- If you try to retrieve a date value from a WPF calendar object (e.g. calendar.Date; calendar.Date.Month; calendar.Date.Year) before performing an operation on it, LeanFT returns an exception of type: InvalidOperationException. Therefore, make sure to precede the retrieve value step with a step that performs an operation on the calendar, such as using to set the date on the calendar to the current date.

DateTime Date {get;}