How to record time stamp?

Hi folks, I was wondering if there was a way to store local time and date to a variable from Mendix.
1 answers

Click on the attribute’s name on your Domain Model, make sure it is of type Date and Time (otherwise this wouldn’t work). Set default value to Stored, then type in [%CurrentDateTime%].

Don’t forget to change your App Settings to your local time (under your App module, click Settings > Runtime > Default time zone).

Hope it helps.