How to filter on a date ?
Hi everyone,
In mm_events, I got a Date(Timestamp) attribute named event_date. Each event will be on april 21, 22, 23 or 24. Trying to create a specific filtersetting for April 24 events, I've selected simple lookup and event_date.
But in 'default' selct field, I got as many times this date as I got events with this date. To be clearer : if I had 3 events with april 24, I got 3 times april, 24 in default select.
I went to see in mysql table. Dates are stored with a 10 digit integer where 8 first are equal but last 2 are different for each record. That's why simple lookup displays 3 times the april 24. But is it normal ?
I can replace my Date(Timestamp) attribute by a simple text attribute (or a select attribute to a text attribute in another mm_table) but this could be possible to do it with real dates ? No ?
Thanks for ideas or good syntax…