A VB .Net module to split a time period into intervals.