Using date_recorded in a filter
-
I’m having trouble using date_recorded in a shortcode filter. I am using pdb_total to show the number of records added in each month, I’d like a list of at least the past 12 months.
It works fine with any user added dates, and I do understand that date_recorded comes from the server and is a timestamp rather than just a date, which is presumably where the problem is, I can’t get the format for the dates.
I’ve tried variations of “date_recorded>=jan 1 2025&date_recorded<feb 1 2025” (also 1 jan 2025 as I’m not in the USA, which also works with other date fields). Tried adding 00:00, 0:00am and always get 0.
Any idea how I can get this to work, or if I can do something as simple as date_recorded= jan 2025?
Thanks
The topic ‘Using date_recorded in a filter’ is closed to new replies.