My background is C, Java, C#, and VB.NET, but I have to work on some basic PHP stuff. I've gotten to this line of code:
if($flag) $event_end--;
What exactly is being decremented? The raw ticks? $flag (I think) represents if the event is an all-day event, where the start would be 7/1/2010 and end would be 7/2/2010. Does the -- essentially make $event_end [7/1/2010 11:59:59.99999 PM]?
-- edit: ok, cardinal rule of technical questions: explain what you're talking about. guilty. $event_end is orginally being set using the mktime() function. does that help?