We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Month Year Picker

salvadormar
Kilo Guru

Hi All,

Has anyone reconfigured a GlideDate field to pick and display month and year only?

I have been researching it...I found a pure javascript in an html page; there is one about Event.observe in servicenowguru on how to default the time to zero.

I tried combining these but no luck.Any tips or leads is appreciated.

Thanks,

Dor

5 REPLIES 5

Daryll Conway
Giga Guru

I've not tried this but you could try and change the html tag attribute 'data-date_time_format="dd-MMM-yyyy"'



Using document.getElementById("<id of html tag>").data-date_time_format="MM-yyyy";