Hotkey - yesterday and tomorrow

Discussion, questions and support.
Post Reply
TokyoMike
Posts: 35
Joined: May 10th, ’18, 07:01

Post by TokyoMike » Aug 19th, ’20, 08:22

Hello

I would like to create a hot key the prints out the following:

[[2020-08-18 |<< Yesterday]] | [[2020-08-20|Tomorrow >>]]

Where today is 2020-08-19.

I am using a note app that allows linking between documents - its called Obsidian. If I could macro this I could easily link my pages for daily notes.

The same logic might also be valuable for the text expander function - maybe if I type [[yesterday]] it would expand to yesterday's date, and [[tomorrow]] would do the same for tomorrow.

Thanks for the help!
User avatar
Marko
Posts: 1728
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Aug 19th, ’20, 08:26

Have you tried Date and Time macro?
TokyoMike
Posts: 35
Joined: May 10th, ’18, 07:01

Post by TokyoMike » Aug 19th, ’20, 09:04

Marko wrote: Aug 19th, ’20, 08:26 Have you tried Date and Time macro?
Oh! Cheers!!!!!
Post Reply