Navigation überspringen

[Gelöst] Date and Time Greater than Now Not Working

This support ticket is created vor 1 year, 8 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 1 reply, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 1 year, 8 months.

Assistiert von: Minesh.

Author
Artikel
#2749743
time.jpg

I have a view in which the condition is to show only records with a date and time greater than now. It doesn't work. I'm attaching a screenshot:
- date today
- field info
- field value
- condition for the view
When the condition is removed the record show up on the front end.

#2749887

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Toolset custom date field stores Unix Timestamp value to the database and that is the number type.

So, with your "Query Filter" you added for your date custom field, what if you try to select option "Numeric" instead of "DATETIME" and add the query filter and check if that help you to resolve your issue.

#2749889

That worked, thank you. Strange though.