title: Add class on date in past or future
body: <p>I have an overview of some partyevents (some on the same day).
  I need to sort them on the current date and time.
  When an event is done it needs to go into the list of old events.</p>
  
  <p>How I think this could be done is some class is being added with javascript when an event is in the past or future based on the current time. It needs to know the date and time of the event by the title or other attribute. (This way I can use display:none when the past class is added for the list of upcomming events and on the old events add display:block.)</p>
  
  <p>Upcomming party events:
  - list here</p>
  
  <p>Old events:
  - list here</p>
  
  <p>I have searched allot but I can't find any usefull scripts.
  Maybe someone can help me out?</p>