MYSQL - Retrieve Results by Date Proximity
Posted
by aSeptik
on Stack Overflow
See other posts from Stack Overflow
or by aSeptik
Published on 2010-04-13T20:01:43Z
Indexed on
2010/04/13
20:02 UTC
Read the original article
Hit count: 334
Hi All! ;-)
my question is:
assuming we have a calendar_table with UNIX datestamp date_column, i want retrieve the event with the closest proximity to the today date.
So, for example if there is no event today, keep the closest one based on it's date!
Thanks All you guys! ;-)
© Stack Overflow or respective owner