Version

ParseExact(String,String,IFormatProvider) Method

Converts the requested string representation of a date and time into its SmartDate equivalent adhering to a specific format.
Syntax
'Declaration
 
Public Overloads Shared Function ParseExact( _
   ByVal s As String, _
   ByVal format As String, _
   ByVal provider As IFormatProvider _
) As SmartDate
public static SmartDate ParseExact( 
   string s,
   string format,
   IFormatProvider provider
)

Parameters

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

Return Value

A SmartDate equivalent to the date and time described by s.
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