@tomw 'dag' technically refers to the time when the sun is up. Obviously '30 dagar' and '30 dygn' is going to be pretty much the same, so using them interchangeably is ok.
One case where it's useful is if someone telks you they'll be staying at a resort for '4 dagar'. How long will they be spending there? If you say 4 dygn it's much more clear.
Another case is if you, like me, was doing a big upload to a cloud server that was very slow. If I tell you it takes 2 days to upload, that gives you different information than of I say it takes ett dygn.