How to subtract date with days and get result as date in uipath

Hi , You may try the below expression in assign activity

Convert.toDateTime(“20/9/2022”).AddDays(-12)

You can use string variable instead of “20/9/2022” and integer instead of -12

Thanks,
Keerthana