Setting a date field with the date I change my field

Hello,

I have 2 fields, my field_A and my field Date_A, I want to get the actual date into Date_A when my field_A is changed.

I created an onChange event for my field_A with this but it is not working

$today = date(“dd/mm/YYYY”);
{Date_A}=$today;

Have you looked at the Macro video on dates?

{Date_A}=date(‘d/m/Y’);

or

{Date_A}=date(‘Y-m-d’);

1 Like