Powerbuilder 2022 R3 Build 3356
If you have a datawindow default on a column of type datetime, the datetime doesn't populate on insert. -- I have tried datetime(today(), now()) and just today()... neither works.
You can recreate this by simply creating a new datawindow with external source, and adding two fields:
table(column=(type=datetime updatewhereclause=yes name=my_date dbname="my_date" initial="datetime(Today(), Now())" )
column=(type=number updatewhereclause=yes name=row dbname="row" initial="0" )
)
Insert a row... your date will not fill in.