Hello Srikanth,
One solution would be to implement a loop that iterates through your arrays and tracks the minimum data difference.
Cheers,
------------------------------
Cameron
Online Community Manager/Moderator
------------------------------
Original Message:
Sent: 03-04-2026 10:54
From: Srikanth k s
Subject: Only Future Dates Open Installments?
Scenario, the next installment information should play the OPEN status with the closest due date to the current date.
I am receiving the following API array variables:
Status (Array)
DueDate (Array) – date format should be yyyy-MM-dd.
I am a bit confused about how to compare the closest due date with the current date. Has anyone implemented this kind of scenario? Any ideas would be helpful.
#ArchitectandDesign
------------------------------
Srikanth k s
------------------------------