getdate function

Obtaining dates using other dates (or month or year) as reference