Let's get terminology set proper. A variable is something completely different from a date/time stamp in a field. Based on the question, I'm inclined to agree with RG in that it sounds more like you are wanting a date/time stamp on a record.
For that, create a field in your table (Date/Time datatype with General as the format).
Then you can set the default in the table or the form to be simply: