This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!
Submit FeedbackHere's my solution and like @NicoleJohnson spotted this is a duplicate.
Solved
Originally started with Regex Replace, but my experience with Regex and my understanding is minimal. Then thought of replacingfirst Character, however, the first two characters would be replaced instead of the first character with '19' or '20'. I then decided to use a function someone used to solve the challenge as a reference point, however, the datatype stilled produced an issue with truncation ( solution involved in increasing the size of the datatype).