(macro datetime
	(assign_to_key "%#104" "insert_dt")	;** Randomly assigned to Alt-F1.
)

(macro insert_dt
	(
		(int		hours
					minutes
					seconds
					day
					year
		)
		(string	month
					weekday
					string_to_insert
		)
		(date year NULL day month weekday)
		(time hours minutes seconds)

		(sprintf string_to_insert "Date: %s, %d " weekday day)
		(+= string_to_insert (+ month " "))
		(sprintf month "%d.  Time: %02d:%02d:%02d." year hours minutes seconds)
		(+= string_to_insert month)
		(insert string_to_insert)
	)
)
