## Today <% tp.date.now("YYYY-MM-DD") %> ### Today Timestamp <% tp.date.now("YYYY-MM-DDTHH:mm:ss") %> ## Show task only on certain days Only to be used in daily template since it reads the title of the file. If using a different format, change `YYYY-MM-DD` to the format you are using. ### Weekdays ``` <%-* if (moment(tp.file.title, "YYYY-MM-DD").format("ddd") != "Sun" && moment(tp.file.title, "YYYY-MM-DD").format("ddd") != "Sat") { %> - [ ] Task <%* } -%> ``` ### Sunday ``` <%-* if (moment(tp.file.title, "YYYY-MM-DD").format("ddd") == "Sun") { %> - [ ] Task <%* } -%> ```