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