I have an argument in a view, contextual filter - {{ arguments.field_news_date_value }}. How can I reformat a date value from YYYY-MM-DD to DD Month Year in the view


Select the custom format in the field's configuration and d m y there. Refer https://www.php.net/manual/en/function.date.php to see php date format.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.