How to update createdAt and updatedAt fields in your data type?

Hi, 

For best practice I have added a createdAt and updatedAt field in my CDT. This is generally good to have on several of my CDTs to trace activity in the future.

How do I save a date/time to these fields with system generated data at the time of form submission? What are the recommended solutions for something like this? 

Many thanks, 

Eric

  Discussion posts and replies are publicly visible