How to put the day gg/mm/yy into a variable?

Hello,
i would like to retrieve the day data into a variable.
for example i want to enable some buttons only after 3 week affiliation to my website.

Hi @d.zibra

Have you tried to convert a string into date object ?

Certified Code

I had a look in the link you send me, but there are many methods and i can’t find what i need.
what i need to do is to record into a variable and then into my database the value of the day when my user get into a specified page.

ex

var date = “today date”