You may carry a knife in public places if you have a 'recognized professional and/or leisure use', for example, in relation to a specific job or sport. It is legal to carry a pocket knife on a picnic, but illegal to carry the same knife when going out at night or in public places with many people.
Please note that it is extremely uncommon for people to carry knives in Denmark.