Hi check the https://apify.com/useful-tools/dynamic-input Actor, which is capable to start a Run of Other Actor with and generated INPUT based on some node.js code - it has moment.js support in it, check the default Input for examples, otherwise feel free to ask further questions.