Yes, a Bitcoin transaction can take 24 hours in one of two situations: if you set a too-low fee or if the network is overloaded with Bitcoin transactions at that time.