new GlideDateTime().getDate(); this is giving complete date in" YYYY/MM/DD" format, I want only month and year in "MM/YYYY" this format .....what is script for this.

animesh3
Kilo Contributor

 new GlideDateTime().getDate(); this is giving complete date in" YYYY/MM/DD" format, I want only month and year in "MM/YYYY" this format .....what is script for this

5 REPLIES 5

@animesh

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

If not, please let us know if you need some more assistance.

Thanks!
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader