Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: How to compare two custom field dates for conditional display?

$
0
0

Actually, I have discovered that Adriano's suggestion here does work:

[wpv-if f1="wpcf-start-date" f2="wpcf-end-date" evaluate="$f1 < $f2"]
      [types field="end-date" style="text" format="F j, Y"][/types]
[/wpv-if]

However, I didn't realize it because my date includes a time a value. Is there a way to only evaluate the day, month and year ONLY, and ignore the time?


Viewing all articles
Browse latest Browse all 20145

Trending Articles