Quote:
Originally Posted by Caster
I figured that the $gettime is the time and the hour difference, the getdate function puts the unix time into an array and is then converted using gmmktime. What I don't understand is the if statement
PHP Code:
if (cache_event_info($eventinfo, $todaydate['mon'], $todaydate['mday'], $todaydate['year'], 1, false))
|
In this statement, I am piggybacking on the existing vBulletin functionality. cache_event_info returns true if the event the event array that is passed ($eventinfo) is found to occur on the specified month, day and year that are passed from $todaydate. In order to use this function, you will need to include "functions_calendar.php" in your program.