Search by date range

4 posts by 2 authors in: Forums > CMS Builder
Last Post: September 15, 2009   (RSS)

Re: [eduran582] Search by date range

By Dave - September 14, 2009

Hi Eric,

If you can get your input dates into MySQL format (like this: YYYY-MM-DD HH:MM:SS) then you should be able to use the _min and _max search functions.

If you want to just search on date and not time just enter zeros for the hour, min and second.

Let me know how it works out for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Search by date range

Thanks for replying, Dave!

Will it make any difference if the db input uses 24 hour time? Meaning, should I use HHMM for the time value (YYYY-MM-DD HHMM)?

Eric

Re: [eduran582] Search by date range

By Dave - September 15, 2009

Yes, it should use 24 hour time. In this format: YYYY-MM-DD HH:MM:SS

Let me know how it goes!
Dave Edis - Senior Developer
interactivetools.com