Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Output todays date

Started by mario 6 years ago · 3 replies · 1286 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 complanar, 6 days ago
6 135 11 hours ago
Support · by Rick Beebe, 6 days ago
2 99 2 days ago
Support · by blu3prince, 3 days ago
0 50 3 days ago
Support · by alex, 4 days ago
2 91 3 days ago
Support · by Marcel, 2 weeks ago
1 142 3 days ago