UnsolvedCoding
Technical User
Hey all,
So, I am trying to get the one digit month and the 2 digit year together in a string to search for specific information. I can get both a one digit month
Select Month(getdate())
and the two digit year
Select Right(Year(getdate()),2)
But I can't get them to go together like 311 where 3 is the month and 11 is the year.
I tried using + but it keeps adding them instead of putting them in sequence. I tried cast and convert but the same thing happens.
Ideas?