@loktin/sdk / spend-save / effectiveWithdrawalDay
Function: effectiveWithdrawalDay()
effectiveWithdrawalDay(
enrollment,now?):number
Defined in: @loktin/sdk/dist/spend-save/types.d.ts:161
The withdrawal day that applies at now, by the contract's rule: a pending change applies once the month index reaches its fromMonth (P16). For display only. It uses the device clock in UTC, and at the edge of a month the chain's ledger time decides.
Parameters
enrollment
Pick<Enrollment, "withdrawalDay" | "pendingDay">
now?
Date
Returns
number