How to get an nextpayment date(Current date + 3 days)

Below code is working only in safari. I couldnot able to get next payment data in chrome and FF

String futureDate = CustomKeywords.‘com.utilities.DatepickerHandler.yearMonthDaysFormat’()
WebUI.sendKeys(findTestObject(‘Pages/YourFinancesPage/NextPayDate’, [(‘variable’) : ‘’]), futureDate)

I am new to Automation can any one help please

How about trying the below: