DateTimeHelperNumberOfWeeks Method (DateTime, DateTime) |
Gets number of weeks in specified time interval.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static int NumberOfWeeks(
DateTime dateFrom,
DateTime dateTo
)
Parameters
- dateFrom
- Type: SystemDateTime
Time from - dateTo
- Type: SystemDateTime
Time to
Return Value
Type:
Int32See Also