Skip to main content
TOPICS

CATEGORY

PUBLISHED
25 March 2022

MODIFIED
28 September 2024

Calculating Expiry Dates

To calculate expiry dates in CardExchange Producer, you can use a Python script like the one below:
1

If you load the designer you can paste this into the functions tab as below:

2

Then on a visible item, or on a storage item you can choose the script option as the source an call the script expiry() like this:

3

You can edit the script and change the years variable to any other value you need.