Skip to main content

DateTimeRange.ToString Method

Name Parameters Description
ToString() none Returns the textual representation of the datetime range.
ToString(IFormatProvider) provider Returns a culture-specific string representation of the time range.
ToString(String, IFormatProvider) format, provider Returns a string that represents the range. The return string uses the specified format string to format the result in a culture-specific template.