Helping you move faster with dates and times
DateAutomations includes a number of commands for inserting date/time values into your NotePlan notes
TRY THIS FIRST! Choose from a variety of date/time formats from a menu. This also shows you in parentheses the dateStyle and timeStyle to yield this result (which you could enter into your Template plugin date defaults). This is also a good way to see what you want some of your settings to be.
Note: uses locale from settings as a base and provides lots of variations
e.g. [[2022-04-16]] Create a link to the daily Calendar Note and insert it at the cursor
e.g. 6/19/2021 06:55:22
Note: uses dateStyle, timeStyle, locale from settings; run /dp command to see your options
e.g. 2021-08-06 17:20
Note: does not use any settings. If you want another format, use /formatted command and setting.
e.g. 6/19/2021
Note: uses locale in plugin settings; run /dp command to see your options
e.g. 06:55:22
Note: uses timeStyle, locale, use12hour from settings; run /dp command to see your options
e.g. 6/19/2021T18:55:46.101Z (date/time is in GMT)
e.g. 2021-08-14 10:30:00 am
Note: uses format from settings. See https://www.strfti.me/ for details on the formatting codes
e.g. Mon 2022-04-11 - Sun 2022-04-17 Note: currently cannot be customized. If you desperately need it to be customizable, let @dwertheimer know in Discord. However, know that you can use the Templating plugin and create a template to insert your custom date.
/formatted command uses %Y-%m-%d %I:%M:%S %P (see Templates use below)Note: You can create your own formats in templates installing the Templating plugin and following the directions
If you install this plugin and run /dp command, you will get some ideas for dateStyle and timeStyle settings
The following are some useful references which provide more information about formatting date/time values
Formatting Dates Using strftime for more information about formatting formatted date/time value
Date Time Formats for more choices/details