i definitely think this is something that should be in a text expander tool. that way i configure it once everywhere and not in each app. If you do need specific date formats per app, then most text expander tools should be able to accommodate that
Sorry my reply is a bit late. Onenote has a feature like this, with alt+shift+d and alt+shift+t, respectively. Very useful, especially for a personal vault.
Personally I use textexpander as I realize I need to enter current datetime acros multiple apps
It would also be super cool to have a full on date-picker shortcut since this would give you the ability to look at days of the week so that you can make notes to yourself that span in time.
For example, you could write something like #TODO [[date]] where the date can be selected using a date-picker UI. So you can help select the date ā2 weeks from nowā ā2 days from nowā etc. Roam Research has a similar feature.
for chinese user who use sogou pinyin
input method, tab rq
ę„ę, then select a time. Maybe other input method will support this feature too
I am stumbling on the same issue about the date. A text expander is working great obviously, but the date is entered as text. Wouldnāt it be better a date picker so that the date is entered as a field? I am thinking of possible searches and filtering in the future (pages from 2019 for example, pages from last month, etc).
Keep in mind that we are working in plain-text files, so the date is always going to be represented as text. What I think we want from a date-picker or any other input solution is consistency in date format.
The daily note plugin is the beginning of this. We set a date format for all daily note titles. That date format could be used consistently in all notes. Then future plugins that read dates (e.g. calendar) would know the date format to parse.
This is very handy.
I think a hot string (or text-expander) function can also help for the template like in this post.
All 3rd party solutions described here are nice, but you would think you donāt have to do this for such a simple yet essential feature. Many suggestions here are not accessible for new users (AutoHotKey script) or are Mac / PC specific.
Iām just trying out the āDaily noteā plugin and I think it is annoying that I have to type todayās date all the time when I want to link to today. Iād love to have a shortcut (for me it probably would be Ctrl+D) that inserts the date.
The date should probably not be linked unless the shortcut is part of the Daily notes plugin.
Text expander? E.g. Espanso.
You do have a template set for your Daily Notes, right?
You can set all kinds of fields to be populated in that template and automatically inserted when you click ācreate daily note,ā including whatever date format you like.
I actually have a specific template which Iāve created to be inserted in already created notes which just creates a header with a date and time so that if I need to insert something on the fly, itās extremely easy.
(All that said, I would love to have an integrated date-picker for inserting dates in the future/past. I suspect will be able to do that pretty easily with the plug-in architecture which is coming down the pipe.)
Yes, I do have a template. Iām mainly talking about adding links to the daily note on the fly, not to create the note.
I didnāt think of that yet, so thank you for that. This should be a decent workaround for the moment.
Yes! A date selector with a date-picker-ui would be an amazing feature, a great plugin idea.
FWIW: I use multiple date & time formats in multiple programs. Since I was dealing with this issue in 3-4 programs for years, I just created 1 AutoHotKey program for all the assorted times I use Ctl+Shft+D (2020-09-27) -Alt+Shft+D (Sunday, September 27, 2020) - Ctl+$Numpad0 (22:12 PM) etc.
Took me 15 minutes to learn enough AHK to do it. AHK can actually create just about any ānewā feature I want in Obsidianā¦ If I cared to understand it better and make the macro. I suspect AHK is only one of many ways to do this universally.
Iām planning on adding this (or a version of this) to the natural language dates plugin: three shortcuts to add the current date, current time, and current date+time. I already have something working and Iām just wondering about the formatā¦ Are all those meant to be links? or is the preference to just insert text?
Later on, I plan to add a modal to take any date in natural language (sorry, no date picker) but that might take me a little longer.
To noteā¦ right now, all date-related plugins have their own separate settings (so itās up to the user to keep them consistent). I havenāt checked if thereās a way to access the daily note settings (although I assume itās possible), just wondering if thereās a scenario where youād want dates formatted differently than in the daily plugin? (e.g. for the modal)
My solution is āinsert templateā.
so, I hope several date/time formats and hotkeys for the navigation.
The natural language date plugin already supports this starting on v0.3.0.
Hi!
Iāve just implemented adding the current date/time to the frontmatter, through the plugin āMarkdown Prettifierā, any feedback is welcome.
@cristian Can the date be added as a footer instead of a header? Also does the tables feature work well with the āAdvanced Tablesā plugin?