Hi guys,
Do you know which which is the variable name for the publication date of an article? I would like to add it in the table of contents page.
Thank you.
Catalin
Hi guys,
Do you know which which is the variable name for the publication date of an article? I would like to add it in the table of contents page.
Thank you.
Catalin
You’ll have access to the full $article
object per:
A PublishedArticle
has a method getDatePublished()
:
That will return a full datetime, so some formatting will be needed.