ts_first_of_period function

Use First Date of a Period