Check if a time is in the past
