# Plugin: Insert Date

**URL:** <https://discourse.joplinapp.org/t/plugin-insert-date/14902>\
**Category:** Plugins\
**Created:** [16 February 2021 09:18 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902 "2021-02-16T09:18:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![herdsothom](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/herdsothom/32/5040_2.png) [@herdsothom](https://discourse.joplinapp.org/u/herdsothom)\
**Post date:** [16 February 2021 09:18 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/1 "2021-02-16T09:18:06Z")

</div>

This plugin adds a button to the editor toolbar that, when pressed, inserts the current date into the editor.

Install by searching for 'Insert Date' in Joplin Preferences -\> Plugins.

![InsertDateGIF](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/3/369b6e07866fcdc15bec291e5f3bacee92a35d3d.gif)

As described in [this forum post](https://discourse.joplinapp.org/t/feature-request-insert-date-only-button/14878/4), most of the time I use the existing 'Insert Date Time' button, I dont need the exact timestamp, and it is overkill. This plugin addresses that.

Github Repository: [GitHub - herdsothom/joplin-insert-date](https://github.com/herdsothom/joplin-insert-date)

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [16 February 2021 09:27 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/2 "2021-02-16T09:27:10Z")

</div>

> [@herdsothom](#):
>
> I'll get it added to the official plugin repository if that's possible.

> <https://github.com/laurent22/joplin/tree/dev/packages/generator-joplin#publishing-the-plugin>
>
> //github.com/laurent22/joplin/tree/dev/packages/generator-joplin

---

<div class="post-metadata">

**Author:** ![herdsothom](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/herdsothom/32/5040_2.png) [@herdsothom](https://discourse.joplinapp.org/u/herdsothom)\
**Post date:** [16 February 2021 09:46 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/3 "2021-02-16T09:46:00Z")

</div>

Thanks for that link! I couldnt find that information earlier.  
I've followed those steps and published to NPM.

---

<div class="post-metadata">

**Author:** ![herdsothom](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/herdsothom/32/5040_2.png) [@herdsothom](https://discourse.joplinapp.org/u/herdsothom)\
**Post date:** [16 February 2021 10:11 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/4 "2021-02-16T10:11:08Z")

</div>

Can now be installed by searching for 'Insert Date' within the Joplin Plugins menu.

v1.0.1 will use the Date Format configured in preferences.

---

<div class="post-metadata">

**Author:** ![jb261](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jb261/32/7324_2.png) [@jb261](https://discourse.joplinapp.org/u/jb261)\
**Post date:** [16 February 2021 17:11 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/5 "2021-02-16T17:11:08Z")

</div>

What is the preferred way of assigning a keyboard shortcut? I can see the command in the Command Palette, but not in Tools\>Options\>Keyboard Shortcuts.

Should I edit keymap-desktop.json directly?

Thanks for this; this is handy as I type the date very frequently, but the time almost never.

---

<div class="post-metadata">

**Author:** ![aaronxn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/aaronxn/32/2751_2.png) [@aaronxn](https://discourse.joplinapp.org/u/aaronxn)\
**Post date:** [6 March 2021 18:07 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/6 "2021-03-06T18:07:58Z")

</div>

I've been looking for this feature, but for the time only. It's for a daily log that has time-based entries.

---

<div class="post-metadata">

**Author:** ![whitewall](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/whitewall/32/6018_2.png) [@whitewall](https://discourse.joplinapp.org/u/whitewall)\
**Post date:** [7 March 2021 08:12 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/7 "2021-03-07T08:12:25Z")

</div>

I just noticed that the icon is different in the regular markdown editor and the "rich text"editor. Shouldn't they be the same?

---

<div class="post-metadata">

**Author:** ![pierda](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@pierda](https://discourse.joplinapp.org/u/pierda)\
**Post date:** [28 May 2021 09:40 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/8 "2021-05-28T09:40:46Z")

</div>

Just to add I installed this plugin and see the same issue, correct icon in markdown editor, but a settings (cog) icon in the rich text editor. Please can this be corrected as it is a plug I hope to use every day! Thanks

---

<div class="post-metadata">

**Author:** ![snoitallicso](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/snoitallicso/32/3919_2.png) [@snoitallicso](https://discourse.joplinapp.org/u/snoitallicso)\
**Post date:** [2 June 2021 15:49 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/9 "2021-06-02T15:49:50Z")

</div>

@herdsothom is there an option to automate datetime inserting at each bullet for lists?

> [@Please add auto time stamps for notes](https://discourse.joplinapp.org/t/please-add-auto-time-stamps-for-notes/17739):
>
> I frequently create bullet lists with timing when thought was appeared in my mind, like: Something1 02/06/2021 06:13 Something2 02/06/2021 06:14 Wow! ... 02/06/2021 06:15 Every time I click on to "Insert Date Time" inside editor. But in many notetaking apps this setting is by default. Notion comment as example: [noname] I mean is there a possibility to create non-default but available setting in the Preferences? Thanks.

---

<div class="post-metadata">

**Author:** ![whitewall](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/whitewall/32/6018_2.png) [@whitewall](https://discourse.joplinapp.org/u/whitewall)\
**Post date:** [29 June 2022 13:31 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/10 "2022-06-29T13:31:49Z")

</div>

> [@jb261](#):
>
> Should I edit keymap-desktop.json directly?

I'm also wondering about this. I'd really like to have a keyboard shortcut. Can anyone say how this would work?

---

<div class="post-metadata">

**Author:** ![oryoruk](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/oryoruk/32/21870_2.png) [@oryoruk](https://discourse.joplinapp.org/u/oryoruk)\
**Post date:** [14 August 2024 14:12 UTC](https://discourse.joplinapp.org/t/plugin-insert-date/14902/11 "2024-08-14T14:12:23Z")

</div>

I like this plugin, and use it to enter date only. I prefer using keyboard alone and not the button, so I type "/date" and scroll down on the options to select the date to insert.

It would be nice to be able to start typing "/d" and select date from the autopopulated list, not having to spell out the full code "/date".

see the gif attached for clarification, if I type only a portion and select /date from the list, it inserts "/date" in the document, which is completely useless.  
 ![insert date](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/5/9/59640a0473ca093cdde1773306b822623dba8be9.gif)
