diff --git a/faker/providers/ssn/no_NO/__init__.py b/faker/providers/ssn/no_NO/__init__.py
index 207831b8..2f171d42 100644
--- a/faker/providers/ssn/no_NO/__init__.py
+++ b/faker/providers/ssn/no_NO/__init__.py
@@ -71,7 +71,7 @@ class Provider(SsnProvider):
                 gender_num = self.generator.random.choice((0, 2, 4, 6, 8))
             elif gender == 'M':
                 gender_num = self.generator.random.choice((1, 3, 5, 7, 9))
-            pnr = birthday.strftime('%y%m%d') + suffix.zfill(2) + str(gender_num)
+            pnr = birthday.strftime('%d%m%y') + suffix.zfill(2) + str(gender_num)
             pnr_nums = [int(ch) for ch in pnr]
             k1 = checksum(Provider.scale1, pnr_nums)
             k2 = checksum(Provider.scale2, pnr_nums + [k1])

Norwegian ssn returns the wrong format for the date part 
SSN for no_NO returns the wrong format of the date part.

### Steps to reproduce

As @cloveras pointed out:
Using December 31 1999 as the date of birth (YYYYMMDD):
ssn('19991231','M')

This results in SSNs like these:
99123145123
99123108724
99123127532

### Expected behavior

The correct format is DDMMYY.

### Actual behavior

These start with the date of birth in YYMMDD format.

diff --git a/tests/providers/test_ssn.py b/tests/providers/test_ssn.py
index abf33e63..11d88cca 100644
--- a/tests/providers/test_ssn.py
+++ b/tests/providers/test_ssn.py
@@ -180,9 +180,11 @@ class TestNoNO(unittest.TestCase):
             self.assertEqual(len(ssn), 11)
 
     def test_no_NO_ssn_dob_passed(self):
-        date_of_birth = '20010203'
-        ssn = self.factory.ssn(dob=date_of_birth)
-        self.assertEqual(ssn[:6], date_of_birth[2:])
+        test_data = [('20010203', '030201'),
+                     ('19991231', '311299')]
+        for date_of_birth, expected_dob_part in test_data:
+            ssn = self.factory.ssn(dob=date_of_birth)
+            self.assertEqual(ssn[:6], expected_dob_part)
 
     def test_no_NO_ssn_invalid_dob_passed(self):
         with self.assertRaises(ValueError):

pip install -e .
parse_log_pytest
requirements.txt
mock UkPostcodeParser email_validator pytest
3.6
tests/requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
dnspython==2.2.1
email-validator==1.0.3
-e git+https://github.com/joke2k/faker.git@15a471fdbe357b80fa3baec8d14b646478b80a85#egg=Faker
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
mock==2.0.0
packaging==21.3
pbr==6.1.1
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
python-dateutil==2.9.0.post0
six==1.17.0
text-unidecode==1.2
tomli==1.2.3
typing_extensions==4.1.1
UkPostcodeParser==1.1.2
zipp==3.6.0

name: faker
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - dnspython==2.2.1
      - email-validator==1.0.3
      - idna==3.10
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - mock==2.0.0
      - packaging==21.3
      - pbr==6.1.1
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - python-dateutil==2.9.0.post0
      - six==1.17.0
      - text-unidecode==1.2
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - ukpostcodeparser==1.1.2
      - zipp==3.6.0
prefix: /opt/conda/envs/faker

tests/providers/test_ssn.py::TestNoNO::test_no_NO_ssn_dob_passed
tests/providers/test_ssn.py::TestEtEE::test_ssn tests/providers/test_ssn.py::TestEtEE::test_ssn_checksum tests/providers/test_ssn.py::TestFiFI::test_artifical_ssn tests/providers/test_ssn.py::TestFiFI::test_century_code tests/providers/test_ssn.py::TestFiFI::test_ssn_sanity tests/providers/test_ssn.py::TestFiFI::test_valid_ssn tests/providers/test_ssn.py::TestHrHR::test_ssn tests/providers/test_ssn.py::TestHrHR::test_ssn_checksum tests/providers/test_ssn.py::TestHuHU::test_ssn tests/providers/test_ssn.py::TestPtBR::test_pt_BR_cpf tests/providers/test_ssn.py::TestPtBR::test_pt_BR_ssn tests/providers/test_ssn.py::TestPtBR::test_pt_BR_ssn_checksum tests/providers/test_ssn.py::TestPlPL::test_calculate_month tests/providers/test_ssn.py::TestPlPL::test_ssn tests/providers/test_ssn.py::TestPlPL::test_ssn_checksum tests/providers/test_ssn.py::TestNoNO::test_no_NO_ssn tests/providers/test_ssn.py::TestNoNO::test_no_NO_ssn_checksum tests/providers/test_ssn.py::TestNoNO::test_no_NO_ssn_gender_passed tests/providers/test_ssn.py::TestNoNO::test_no_NO_ssn_invalid_dob_passed tests/providers/test_ssn.py::TestNoNO::test_no_NO_ssn_invalid_gender_passed
faker/providers/ssn/no_NO/__init__.py
faker/providers/ssn/no_NO/__init__.py