Numbers don't have formats - an integer is an integer, so the number three can be equally represented as 03, 3, 0x3 etc.
Additionally, you're simply adding numbers - you're not concatenating string representations.
Numbers don't have formats - an integer is an integer, so the number three can be equally represented as 03, 3, 0x3 etc.
Additionally, you're simply adding numbers - you're not concatenating string representations. So the first number might be 50, the second might be 6, and the third might be 3... so you end up with 59, not 500603 which is presumably what you expected.
You could simply multiply by 10000 for the year and 10