Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2019 12:04 PM
Try this code.
var gdt = new GlideDateTime(gs.nowDateTime());
if(gdt.getMonth()+1 <=3)
return gdt.getYear();
else
return gdt.getYear()+1;
Mark the comment as a correct answer and also helpful once worked.