Thanks irneb,
The syntax is correct, the field fills with the date but displays # # # # instead. But by updating the field by the AutoCAD command, the date is displayed.
What should I add to prevent the manual update of the field in question.
thank you,