EmEditor Home - EmEditor Help - Command Reference - Edit category

Time and Date command

Summary

Inserts the current time and date.

Description

Inserts the current time and date at the cursor position. This commands inserts the time followed by a space and then by the date. 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(eeDateTimeDate);

[VBScript]

document.selection.InsertDate eeDateTimeDate

Copyright 2003-2014 by Emurasoft, Inc.