How to Train Your Dragon : The Hidden World had the second best opening behind Shrek 2 .
In New Zealand , the film grossed $ 173,000 on its opening day , ranking as DreamWorks Animation 's second biggest opening day in the country , only against Shazam .