EmEditor Home - EmEditor Help - Command Reference - Edit category

Date and Time command

Summary

Inserts the current date and time.

Description

Inserts the current date and time at the cursor position. This commands inserts 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.

How to Run

Plug-in Command ID

Macros

[JavaScript]

document.selection.InsertDate(eeDateDateTime);

[VBScript]

document.selection.InsertDate eeDateDateTime

Copyright 2003-2014 by Emurasoft, Inc.