How to get formatted node creation date in Drupal 8

3
(1)

Code snippet that can be used to get formatted node creation date in Drupal 8.

{{ node.getCreatedTime|format_date('custom_format') }}

Similar Posts:

946

How useful was this post?

Click on a star to rate it!

Average rating 3 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

Scroll to Top