If you are using Glitch.com, chances are that you are having trouble passing this challenge, because you are ± 20 seconds off. The exact message says:
the returned time is not between ± 20 secs from now
And your code looks like this:
SPOILER ALERT!
And that should work, but it doesn’t because your PC timezone is not the same as your browser.
The solutions is to set your timezone and time to automatic in your PC settings.
That should solve it all.
Happy learning.