Support » Plugin: custom tables » [Plugin: custom tables] date filter

  • hi,

    i’m using the free version of custom tables 3.4.4 and i’m trying to filter a table for a date field.

    The thing is that i want to filter the date by year.

    i tried something like
    $datefrom = time(date(‘d/m/Y’,’01/01/2011′));
    $dateto = time(date(‘d/m/Y’,’01/01/2012′));
    echo ‘[wctable id=”24″ limit=”5″ filter=”datefield>=\’$datefrom\’ AND datefield<=\’$dateto\'”]’;

    echo ‘[wctable id=”24″ limit=”5″ filter=”datefield LIKE \’%2012\'”]’;

    but the table output is always empty. there’s some other way to filter the table??

    thanks for the usefull plugin

Viewing 1 replies (of 1 total)
  • Hi. Could you please send me “custom tables 3.4.4” in my email.
    I can’t find it in WordPress Plugins.

    My email is: [ email redacted ]
    Thanks for your time!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: custom tables] date filter’ is closed to new replies.