Converts the specified string representation of a date to its Date equivalent using the specified culture-specific format information and formatting style.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
| C# |
|---|
public static Date Parse( string s, IFormatProvider provider, DateTimeStyles styles ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Parse ( _ s As String, _ provider As IFormatProvider, _ styles As DateTimeStyles _ ) As Date |
Parameters
- s
- Type: System..::..String
A string containing a date to convert.
- provider
- Type: System..::..IFormatProvider
An IFormatProvider that supplies culture-specific format information about ss.
- styles
- Type: System.Globalization..::..DateTimeStyles
A bitwise combination of DateTimeStyles values that indicates the permitted format of s. A typical value to specify is None.