Share via


ParseExact Method (String, String, IFormatProvider)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Namespace:  System
Assembly:  System.Dataflow (in System.Dataflow.dll)

Syntax

'Declaration
PublicSharedFunctionParseExact ( _
    dateAsString, _
    formatAsString, _
    providerAsIFormatProvider _
) AsDate
'Usage
DimdateAsStringDimformatAsStringDimproviderAsIFormatProviderDimreturnValueAsDatereturnValue = Date.ParseExact(date, _
    format, provider)
publicstaticDateParseExact(
    stringdate,
    stringformat,
    IFormatProviderprovider
)
public:
staticDateParseExact(
    String^ date, 
    String^ format, 
    IFormatProvider^ provider
)
publicstaticfunctionParseExact(
    date : String, 
    format : String, 
    provider : IFormatProvider
) : Date

Parameters

Return Value

Type: System. . :: . .Date

.NET Framework Security

See Also

Reference

Date Structure

Date Members

ParseExact Overload

System Namespace