Method GetTimeSeparator
GetTimeSeparator(IFormatProvider?)
Gets the localized time separator from the specified format provider,
or uses the current culture if the provider is null.
public static string GetTimeSeparator(IFormatProvider? formatProvider = null)
Parameters
formatProviderIFormatProviderThe format provider to retrieve the culture-specific information from. If
null, the current culture will be used.
Returns
- string
The time separator character as a string.