Hi John,thank you very much for that perfect solution.To make your code ready to use for everyone and hopefully even more understandable I added a few lines.The following is the code of the "class" in a scriptObject: Formular1.#variables[0].myDateScript - (JavaScript, client)function myDate(sDay, sM...