Not a glitch with avast, it only checks the system date to ensure that your license/registration is valid, but it doesn’t change the system date.

As Eddy said this is probably system related.