Hey Prateek,
You can use the addDays() function,
You can visit it’s documentation by clicking here
addDays([%CurrentDateTime%],-30)
So, in the Xpath, you can use
[DueDate>=addDays([%CurrentDateTime%],-30)]
Let me know, if you face any issues,
Hope it helps!!