| DateTimeEquals Method (DateTime, DateTime) | 
Returns a value indicating whether two 
DateTime instances have the same date and time value.
 
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntaxpublic static bool Equals(
	DateTime t1,
	DateTime t2
)
Parameters
- t1
 - Type: SystemDateTime
The first object to compare.  - t2
 - Type: SystemDateTime
The second object to compare.  
Return Value
Type: 
Booleantrue if the two values are equal; otherwise, false.
See Also