What do you meant with parametrize the date expression?
I don't know your data and requirements and your approach might be sensible but for me it looked like an overusing of variables because they have the aim to simplify things and here I'm not sure they does.