i cant fill the formated date fields with
field text: {DATE ValidfromDate @ “ddMMyyyy”},
input:datetime.datetime(2024, 1, 1, 0, 0),
Ausgabe: 2024-01-01 00:00:00
i tryed it with this code
the imput comes from a directory {“ValidfromDate”: datetime.datetime(2024, 1, 1, 0, 0)}
for field in doc.Fields:
field_code = field.Code.Text.strip()
field_name = field_code.split()[1]
if field_name in genaral_data:
field.Result.Text = str(genaral_data[field_name])
New contributor
Ensar Parca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1