Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    Given a “Date Form” with field “date” with values like “7/17/2014”

    (1)
    [cfdb-table form="Date Form" filter="strtotime(date)>=strtotime('today')&&strtotime(date)<=strtotime('+7 days')"]

    (2)
    [cfdb-table form="Date Form" filter="strtotime(date)>=strtotime('4 weeks ago')"]

    Info on strtotime

    Thread Starter Edward_goes_on

    (@edward_goes_on)

    Thanks!

    After using the european – instead of / it works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter on date’ is closed to new replies.