Skip to main content

DateTimeRange.ToString Method

Name Parameters Description
ToString() none Returns the time range’s display text.
ToString(IFormatProvider) provider Returns a culture-specific display text string of the time range.
ToString(String, IFormatProvider) format, provider Returns the culture-specific display text string of the time range in the specified format.