i have a date of transDate type and i want the month name in string format and the month number.plz help.
regards
rajesh mahato
*This post is locked for comments
Hi,
Please use the following job to get Month number and name.
static void Month(Args _args) { TransDate d = systemDateGet(); int number; number = mthOfYr(systemdateget()); info(strFmt("Month Number: %1", number)); info(strFmt("Month Name: %1", mthName(number))); }
Vilmos suggested you the same on your last thread. Please don't create multiple thread for same questions.
That thread is a long one and confusing also.
the above solution provided by chaitanya golla is very well explained.
sorry for multiple thread
rajesh
Hi Rajesh,
I replied on on your other thread. Please check that job/code.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 4
Martin Tocauer 4
Nayyar Siddiqi 2