public static int MonthOfEpoch( this DateTime dateTime )
var testDate = new DateTime(2002, 1, 1); ? testDate.MonthOfEpoch(); // Result: 12
In This Article