Function Inverses Date Period