Paste date and time button

Anyway to make a button that when clicked will paste the current date and time into a note or field?

Subject: Paste date and time button

Yes

In the code of the button if in edit mode.

Field NameOfFieldOnForm := @Now;

@command([ViewRefreshField]);

Use @Now - to get Date AND TIme;

Use @Today - to get Date only.

Check the @command - that’s off the top of my head and may not exactly right.