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
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 Rajesh,
I replied on on your other thread. Please check that job/code.
That thread is a long one and confusing also.
the above solution provided by chaitanya golla is very well explained.
sorry for multiple thread
regards
rajesh
Vilmos suggested you the same on your last thread. Please don't create multiple thread for same questions.
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))); }
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156