We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eb1bd5 commit 702f0eaCopy full SHA for 702f0ea
Background Scripts/Get Current Month/CurrentMonth.js
@@ -0,0 +1,9 @@
1
+var currentDate = new GlideDate();
2
+var monthNumber = currentDate.getMonth();
3
+var monthNames = [
4
+ "Jan", "Feb", "Mar", "Apr", "May", "June",
5
+ "July", "Aug", "Sept", "OCT", "Nov", "Dec"
6
+];
7
+
8
+var monthName = monthNames[monthNumber - 1];
9
+gs.log(monthName);
0 commit comments