Plugin to insert date and time


#1

After installing this plugin you can insert the current date or time by:

  1. Edit > Run Command…
  2. Choose the “date” or “time” commands

The date and time plugin is available (along with others) from FoldingText’s official plugin collection.


FoldingText Extensions Wiki
#2

How can I change the date format for this plugin?

Now it returns the date formatted as 1/14/2018, but would love to have it formatted as 2018-01-14.


#3

You’d need to change new Date().toLocaleTimeString() in this file to return the date in a different format: