Skip to content

Creating a date and adding days onto the date #1121

Answered by Zachatoo
gruff101 asked this question in Help
Discussion options

You must be logged in to vote

Just realized you're using YYYY.MM.DD instead of YYYY-MM-DD, but should be able to swap out the reference format.

<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY.MM.DD") %>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Zachatoo
Comment options

Zachatoo Jun 4, 2023
Collaborator

Answer selected by gruff101
@gruff101
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants