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”