When performing DNS record changes, it will typically take a couple of hours for the modifications to propagate worldwide. In some instances, it can take up to 72 hours for changes to be visible on the millions of DNS servers all over the internet.
Related: What is DNS propagation?