TryParse Method
MSDN Home
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
Class Library Reference
System
DateTime Structure
DateTime Methods
TryParse Method
TryParse Method (String, DateT ...
TryParse Method (String, IForm ...
DateTime Methods
Add Method
AddDays Method
AddHours Method
AddMilliseconds Method
AddMinutes Method
AddMonths Method
AddSeconds Method
AddTicks Method
AddYears Method
Compare Method
CompareTo Method
DaysInMonth Method
Equals Method
FromBinary Method
FromFileTime Method
FromFileTimeUtc Method
FromOADate Method
GetDateTimeFormats Method
GetHashCode Method
GetTypeCode Method
IsDaylightSavingTime Method
IsLeapYear Method
op_Addition Method
op_Equality Method
op_GreaterThan Method
op_GreaterThanOrEqual Method
op_Inequality Method
op_LessThan Method
op_LessThanOrEqual Method
op_Subtraction Method
Parse Method
ParseExact Method
SpecifyKind Method
Subtract Method
System.IConvertible.ToBoolean ...
System.IConvertible.ToByte Met ...
System.IConvertible.ToChar Met ...
System.IConvertible.ToDateTime ...
System.IConvertible.ToDecimal ...
System.IConvertible.ToDouble M ...
System.IConvertible.ToInt16 Me ...
System.IConvertible.ToInt32 Me ...
System.IConvertible.ToInt64 Me ...
System.IConvertible.ToSByte Me ...
System.IConvertible.ToSingle M ...
System.IConvertible.ToType Met ...
System.IConvertible.ToUInt16 M ...
System.IConvertible.ToUInt32 M ...
System.IConvertible.ToUInt64 M ...
System.Runtime.Serialization.I ...
ToBinary Method
ToFileTime Method
ToFileTimeUtc Method
ToLocalTime Method
ToLongDateString Method
ToLongTimeString Method
ToOADate Method
ToShortDateString Method
ToShortTimeString Method
ToString Method
ToUniversalTime Method
TryParse Method
TryParseExact Method
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
DateTime.TryParse Method
Converts the specified string representation of a date and time to its
DateTime
equivalent.
Overload List
Name
Description
DateTime.TryParse (String, DateTime)
Converts the specified string representation of a date and time to its
DateTime
equivalent.
DateTime.TryParse (String, IFormatProvider, DateTimeStyles, DateTime)
Converts the specified string representation of a date and time to its
DateTime
equivalent using the specified culture-specific format information and formatting style.
See Also
Reference
DateTime Structure
DateTime Members
System Namespace
Parse
String
ParseExact
CultureInfo
CurrentInfo
Other Resources
Formatting Overview
Tags :
Community Content
dirq
Fail = DateTime.MinValue
When this method returns, contains the System.DateTime value equivalent to the date and time contained in s, if the conversion succeeded, or
System.DateTime.MinValue if the conversion failed
. The conversion fails if the s parameter is null, or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
Tags :
datetime