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
Anthony
Anthony4d ago
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
TengoKu
TengoKuOP4d ago
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
Anthony
Anthony4d ago
Took me a hot second to find
No description
Anthony
Anthony4d ago
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

Did you find this page helpful?