If the user is on Tableau Desktop, then it is relatively easy - you can start with the year and user can expand to months, days, etc. or pick month instead of year.
If it is on the Server, then there is no easy way, but it may be possible to fudge this functionality with custom calculations.
This functionality can be accomplished by using a parameter and calculated field. I have attached a sample workbook with instructions showing this. Hope this helps!