I have a text field which is extracted from photo’s EXIF value. It’s like: 2021-05-31T15:15:05. Now I’m gonna create a views called ‘this day in history’. Then I use the views filter and get the field added in. However, I find that I can’t use php code for it. Instead, I have to do it manually everyday, like set the ‘field_datetime’ contains value ’05-30′, then ’05-31′ for tomorrow…. What I’m hoping is like mm-dd, letting it change the month and date with current date automatically. Could anyone give me some idea?
Thanks in advance! I’m using Drupal 8.8