I have tried using templater, filename heading sync, and kanban together. I was able to get obsidian to put the date in the title (using daily notes) but it’s impossible to create a new note with the current time in the header, I’ve tried using macros, scripts, .js, cmd prompt echo commands, nothing is working.
All i wanted was something i thought should be extremely simple, but it is driving me up a wall because every guide or video i see are years old and do not work. I have copied multiple “codes” , i’ve tried setting hotkeys what am i doing wrong?
I’ve tried looking at the context of the coding, which i have 0 knowledge of any type of coding or programming, and i understand the syntax it’s asking for it just never works.
I do things like {{time}} {{date}}
I’ve used…
<%* if (moment(tp.file.title).format("ddd") == "Mo.") { %>
# Montag, <%tp.file.title%>
<< [[<%moment(tp.file.title).add(-1, 'd').format("YYYY-MM-DD")%>]] | [[<%moment(tp.file.title).add(1, 'd').format("YYYY-MM-DD")%>]] >>
I had a nice template going where it would create sytem prompts for filling in several data fields, but the one thing I need is for it to create a note with the time stamp.
I don’t understand why obsidian even has a “open next daily note” or whatever similar feature it is if it doesn’t work like you’d think. I know it’s supposed to be the “note for today” but it’s really weird that I can’t just easily add the time to the title without obsidian freaking out about syntax and improper code, illegal characters, etc…
I want to be able to make notes like
Note “{{MMMM-DD-YYYY HH:MM a}}”
So…
Note June 15, 2022 2:00am
Note June 16, 2022 1:15pm
Note June 16, 2022 1:17pm
Note June 16, 2022 1:34pm
I no longer have my original template because some settings I was changing after looking from video to video, guide to guide where nobody ever has the right answer, and everything I spent hours setting up is gone somehow.
Please help.
If someone has the code for making time show up in title with date, please let me know.
this isn’t an issue of me not knowing the syntax, the guides are all just terrible.