EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

InsertDate Method

Inserts the current time and date.


document.selection.InsertDate( nFlags );


document.selection.InsertDate [ nFlags ]



Specifies a combination of the following values:

eeDateTimeDate Specifies the time followed by a space and then by the date.
eeDateDateTime Specifies the date followed by a space and then by the time.


The formats used for the time and date can be configured in Windows by selecting the Regional & Language Options in Control Panel, then selecting Date & Time.


Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2015 by Emurasoft, Inc.