Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Output todays date

Started by mario 6 years ago · 3 replies · 1562 views
6 years ago

Is there any easy way to output todays date on a page?
I am still new to Grav. It would be easy to just do it via custom PHP, but as far as I understood, I can't just insert php into a page? Why is that?

6 years ago

Thanks for your answer.
I just have to insert this as page content? I tried it, but it doesn't show the date, but just shows up as the same source code.

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago