LN 10.5: Add CDF field populated with date when first saved (Created date)

In LN 10.5 I added a CDF field to the item table (tcibd001) populated with today's date, when first saved (=Created date). Who can help me with the Syntax of extensibily?

The Code in the After Save Hook should check if field is empty and only then set the date from today.