"Company hours" is meaningless for a salaried employee with a flexible schedule.

If I leave at 5 PM and go to a bar, how is that meaningfully different from staying in the office and starting to drink at 5?