Contact Form DB
[Plugin: Contact Form 7 to Database Extension] Problems with dates (1 post)

  1. dicknet
    Posted 4 years ago #

    Hello. First of all, great plugin.

    Only problem I've run across is filtering by date sometimes gives some unexpected results. I suspect this is an issue with the version of PHP I'm using, but I'm stuck with what's installed.

    The following examples assume today's date (Jan 11).

    Specifically I want a report that shows activity for last calendar month (December, in this case). One would think this would be: filter="submit_time>last month". However that gives you everything from December 11 - Jan 11.

    Also tried: filter="submit_time>=first day of last month&&submit_time<=last day of last month" however these variations are rejected as invalid.

    Can anyone suggest a workaround for this?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form DB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic