timeperiod2daterange

Converts time period entities to standardised date ranges.