how to recuperate actual years
i want to recuperate actual years automaticaly for replace 2025 by actual years :
2025-{{anne_naissance_enfant_1_1}}
4 Replies
Not sure to understand? What's the context? What's the input, what's the desired output?
What is currently stored as a variable, what should become stored etc.?
Feel free to give examples so we can better understand and help you. The more info you give, the better (and faster) we could help
I ask for the user's year of birth and then I have to do this operation:
Current year - user's year
Basically, replace the 2025 in the example with the piece of code that allows me to retrieve the current year automatically
Took me a hot second to find

Please try to ask AI before asking here, especially for JavaScript-related questions. You'll get instant responses
Your question is not inherently related to Typebot