Hard coding is the easiest way, but you could also calculate the time period from the number of WFO cycles, the DataSplit fraction, and the start date.