Version

CalcDefaultDateMask(IFormatProvider) Method

Calculates the default mask for a date based on the specified IFormatProvider implementation, including culture-specific separator/formatting characters.
Syntax
'Declaration
 
Public Overloads Function CalcDefaultDateMask( _
   ByVal formatProvider As IFormatProvider _
) As String
public string CalcDefaultDateMask( 
   IFormatProvider formatProvider
)

Parameters

formatProvider
Can be a CultureInfo or a DateTimeFormatInfo. If null is specified, the current culture settings are used.

Return Value

A string representing the default date mask.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also