I want some help... At the latest ticket, I want to filter post by promote start and promote end... it will filter by date and it's worked... same concept like latest ticket but I want to filter by date and time... means, the post will display if promote start lower than or equal and promote end is greater than now...
Is it that you want to allow users to enter the date and time they want to filter by? Is this for a parametric search?
If so then you can just add the filter by going to the filter section of your view and clicking on New Filter.
Add the custom field with the date time. I'm assuming that the start and end time are 2 different custom fields. Unfortunately you can only do a between for 1 field.
So you will need to do a between for the start time and a between for the end time. This way the user can filter lets say they want posts between Filter A and Filter B.
What I mean is we filter the post on View... not in frontend... Like the ticket that I'm included... I want filter the post in View... means on backend.... I want it display post if promote start lower than or equal NOW() and promote end greater than NOW()... promote start and promote end is a fields on post....
The datetime.PNG is a field of promote start and promote end... the filter.PNG is a filter that I've made before but it filter by Today().... I want to filter by NOW()...
What I means is, I want to filter a data by time... the type of field for promote start is datetime.... same also for promote end...
Example, a promote start is 27 March 2018, 8.30pm and promote end is 27 September 2018, 1.25pm..... so, if today is 20 May 2018, 9.00am, it will displayed.... but if today is 27 September 2018, 5.00pm, it will not displayed...