The DayEndsAt property returns the number of half hours from midnight for the end of day.
Schedule object
Long
Read/write
The DayEndsAt property is usually set by the user in the Options dialog box. For more information, see the Schedule+ Help.
DayStartsAt