Printing current month name

paulmorris
Giga Sage

Was just trying to work out a clean way to print out the name of the current month.

I didn't like any of the solutions I found.

It is actually very simple to do.

Thought I would share this for future reference:

var gd = new GlideDate();

gs.print(gd.getByFormat("MMMM"));

10:48:40.861: April
3 REPLIES 3

Masarrat Siddi1
Kilo Guru

Thanks Paul, quick and nice info

Brian107
Tera Contributor

THanks!