hi
i need some advice on how to check if a specified date is between 2 other dates.
to be more specific:
user a is on vacation starting at 2002-8-19 until 2002-9-21.
if date("Y-m-d") is between these two, show this entry, otherwise don't do anything.
now I have been experimenting quite a lot and have tried everything that came to my mind. the last idea is to fill an array with valid dates and then check if the current date is in_array(), but that seems to be a bad idea because this might be too slow, since this page will be loaded several thousand times a day.
any ideas?