The best way to avoid the consequences is to read your company's policies and understand what they are before taking off any time.