The <Insert Date/Time> button on the Edit Macro window allows you to have the macro type the current date or time into the program the macro is typing to.
For example, assume today's date is January 29, 1998 and it's 5:52 PM. Also assume that you created a macro 3 weeks ago so that when you press Ctrl + D the current date and time is typed in like the following
You do this by picking the format you want from the list. See the graphic above.