Shawn Andrews 2 Posted September 8, 2021 Share Posted September 8, 2021 Hello, I am having trouble getting the alphabetic representation of the current month. My attempt: -SET &&DEFCURRYR= MONTHNAME(&DATEYYMD) Desired output: -SET &&DEFCURRYR= September I have been trying different statement variations using the DT_FORMAT (with Mtr) and MONTHNAME function but i either get a blank result or an incorrect month. Thanks Link to comment Share on other sites More sharing options...
David Briars Posted September 8, 2021 Share Posted September 8, 2021 You might not need a function. Link to comment Share on other sites More sharing options...
Shawn Andrews 2 Posted September 8, 2021 Author Share Posted September 8, 2021 Much appreciated David. That solves my problem. Thanks again. Link to comment Share on other sites More sharing options...
David Briars Posted September 8, 2021 Share Posted September 8, 2021 np. congrats on your first post to myibi. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now