Determines whether two dates fall in the same month.
            
    Namespace: 
   Mindscape.WpfPropertyGridAssembly: Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | 
|---|
public static bool SameMonth( DateTime date1, DateTime date2 )  | 
| Visual Basic (Declaration) | 
|---|
Public Shared Function SameMonth ( _ date1 As DateTime, _ date2 As DateTime _ ) As Boolean  | 
Parameters
- date1
 - Type: System..::.DateTime
The first date. 
- date2
 - Type: System..::.DateTime
The second date.