Display Value from Date Field in multiple different formats
-
I’m quite new to use pods and did run into the following situation:
I made a date field called start_date and selected a predefined format in the advanced settings. (which is a cool feature)
So now I have multiple templates to be used in different places in the site
In the 1st template
<p>Start Date: {@start_date} </p> which properly returned the predefined format selected in the advanced field settings like for example 10-Jan-2020But in the second template the {@start_date} should return a different format like for example: Monday, January 10th
Now I wonder if there is a way to add some parameters in the template to display the wanted format? Maybe something like this {@start_date format=”l, F jS”}?
Any hint is very welcome
The topic ‘Display Value from Date Field in multiple different formats’ is closed to new replies.