GregorianDateParse Method (String, IFormatProvider) | 
 
            Converts the specified string representation of a date and time to its
            GregorianDate equivalent using the specified culture-specific
            format information.
            
            Note that GregorianDate is always assumed to be in UTC.
            You cannot parse strings containing time zone information.
            However, this will handle three common ISO8601 formats:
            
- 
            the extended format "YYYY-MM-DDThh:mm:ss.sZ"
            
 - 
            The "day of year" equivalent "YYYY-DDDThh:mm:ss.sZ"
            
 - 
            The basic format "YYYYMMDDThhmmss.sZ"
            
 
 
    Namespace: 
   AGI.Foundation.Time
    Assembly:
   AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static GregorianDate Parse(
	string s,
	IFormatProvider provider
)
Public Shared Function Parse ( 
	s As String,
	provider As IFormatProvider
) As GregorianDate
public:
static GregorianDate Parse(
	String^ s, 
	IFormatProvider^ provider
)
static member Parse : 
        s : string * 
        provider : IFormatProvider -> GregorianDate 
Parameters
- s
 - Type: SystemString
A string containing a date and time to convert. - provider
 - Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific format information about s. 
Return Value
Type: 
GregorianDate
            A 
GregorianDate equivalent to the date and time contained in
            
s as specified by 
provider.
            
Exceptions
See Also