Yes, i'm sure.
But if I understand correctly what you wrote, you shouldn't have been sure, because there wasn't in fact anything in the session; correct?
this number "2" is not, what i want. I want, that it can get the currently Date itself, not a static constance.
Well, if you want to retrieve the current date from the session (why?) instead of a number, then you will first have to put the date into the session, like "session().setProperty(Const.SESSIONCUSTOMER, new Date())". Am I misunderstanding what you are trying to do?