'NUser is the map received from the client using ADP
Dim temp As String = DateTime.DateFormat 'save current format for later restoring
DateTime.DateFormat = "yyyy-MM-dd"
Dim ddn As String = DateTime.Date(NUser.Get("ddn"))
Dim sql1 As SQL = pool.GetConnection
...
sql1.ExecNonQuery2($"INSERT INTO mytable
(id,name,ddn,addr1)
VALUES(?,?,?,?)"$, _
Array As Object(Null, NUser.Get("name"), ddn, NUser.Get("addr1")))
...