Count number of days in a month via pa_indicator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 04:54 AM
I am using below script in an indicator, but seems it is not working. Please share any insights.
var now = new GlideDateTime();
var days = now.getDaysInMonthUTC();
gs.info("Days in month : "+ days);
current.setValue(days);
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 05:30 AM
What are you trying to report on?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 01:10 PM