How to get current date and time?

Hi,

I have issue here on how to get current date and time in my fields. Please help.

Thank you.

Standard php (PHP Date and Time):
$curdat=date(‘m-d-Y H:i:s’);
move to field:
{myfield}=$curdat;

If you have set a global to retrieve date/time, then you can use this global as the initial value of your field.

1 Like

Great , it’s working. Thank you so much :heart: