SelectionStart and SelectionEnd are properties of the MonthCalendar class. What methods can be applied to these properties to control the display of a date? What other factors influence the format in which dates are displayed?
What will be an ideal response?
Several useful methods can be applied to the SelectionStart and SelectionEnd properties of MonthCalendar, including the following:
* ToShortDateString(), which displays the date in the format of 2/16/2016
* ToLongDateString(), which displays the date in the format of Sunday, February 16, 2016
The format in which dates are displayed also depends on the operating system's regional settings. For example, using United Kingdom settings, the short string format would use the day first, followed by the month, as in 16/02/2016. The examples above assume United States settings.
You might also like to view...
One benefit of using range names is that if you copy the formula, you do not have to make the cell reference absolute in the formula
Indicate whether the statement is true or false
Which of the following ports would have to be allowed through a firewall to allow SNMP traffic to pass on its default port? (Select TWO).
A. 22 B. 23 C. 143 D. 161 E. 162 F. 8080