The insertdatetime plugin provides a toolbar control and menu item Insert date/time (under the Insert menu) that lets a user easily insert the current date and/or time into the editable area at the cursor insertion point.
tinymce.init({
selector: 'textarea', // change this value according to your HTML
plugins: 'insertdatetime',
toolbar: 'insertdatetime'
});These settings affect the execution of the insertdatetime plugin. Formats for both dates and times can be set in these configuration options.
The Insert Date/Time plugin provides the following {productname} commands.