The serial number is on the receiver ring.
The barrel is dated right behind the front sight.
All 1917s were made in 1917-1918, maybe into 1919.
A barrel dated much later would be a replacement,
If the gun is Parkerized instead of blued, that is the result of a post WWI overhaul.