Problem:
Conditional Output Comparing Two Custom Date Fields
Solution:
post date field value stored as date string and custom date field value stored as timestamp - so to convert it we need to convert the date string to the timestamp and later you can compare the values.
You can find the proposed solution, in this case with the following reply:
https://toolset.com/forums/topic/conditional-output-comparing-two-custom-date-fields/#post-1112708
Relevant Documentation:
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 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Ce sujet contient 3 réponses, a 3 voix.
Dernière mise à jour par Il y a 6 années et 2 mois.
Assisté par: Minesh.