Version

Parse(String,IFormatProvider) Method

Converts the requested string representation of a date and time into its SmartDate equivalent using the user-provided, culture-specific format information.
Syntax
'Declaration
 
Public Overloads Shared Function Parse( _
   ByVal s As String, _
   ByVal provider As IFormatProvider _
) As SmartDate
public static SmartDate Parse( 
   string s,
   IFormatProvider provider
)

Parameters

s
A string representation of the date and time to convert to.
provider
Custom formatting provider supplied by the application.

Return Value

A SmartDate equivalent to the date and time described by s using formatting information provided by provider.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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