StringExtensions..::..ParseDateTime Method (String, IFormatProvider)

Parses the date time.

Namespace:  MichaelBrandonMorris.Extensions.PrimitiveExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrimitiveExtensions (in MichaelBrandonMorris.Extensions.PrimitiveExtensions.dll)

Syntax


private static DateTime ParseDateTime(
	string s,
	IFormatProvider provider
)
Private Shared Function ParseDateTime ( _
	s As String, _
	provider As IFormatProvider _
) As DateTime
private:
static DateTime^ ParseDateTime(
	String^ s, 
	IFormatProvider^ provider
)

Parameters

s
Type: String
The s.
provider
Type: IFormatProvider
The provider.

Return Value

DateTime.