In your case - you need to identify the year, month and date separate from your input dates
Lets say that your from date is 12-Mar-2025 and saved in a variable named as FromDate
Step 1: Identify year, month and date using below expressions
year = Cdate(FromDate).ToString(“yyyy”)
Month= Cdate(FromDate).ToString(“MM”)
Day = Cdate(FromDate).ToString(“dd”)
Step 2: Use SelectItem activity and capture the drop down for year. In the value - Assign the year variable
Step 3: Do the similar for month and day as well
Step 4: Repeat same for To Date as well