I want show case current month name(JAN,FEB,,,ETC.,) in email body and sub as well
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2024 11:52 PM
Hi,
I want show case current month name (JAN,FEB,,,ETC.,) in email body and sub as well.
Regards,
Sanju.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 03:18 AM
Hi @Talari Balateja ,
Please refer the below link.
https://www.servicenow.com/community/developer-forum/printing-current-month-name/m-p/1442076
Create Email script and in that write below code.
var gd = new GlideDate();
gs.log("MONTH Name "+gd.getByFormat("MMMM"));
var monthName=gd.getByFormat("MMMM");
template.print("Created Month Name "+monthName);
Please mark my answer as helpful and correct if it helps to resolve your issue.
Regards,
Namrata
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2024 12:33 AM