6 month old

Do you take your baby out during family functions if it’s late at night or just take him home? My in laws have been wanting us over late in the evening like at 7pm but that’s the baby’s usual bed time. If you go to an event do you usually lay him in a bed or does he just stay up with you?