When bonus shares are credited in demat account

When are bonus shares usually credited to a Demat account?,