Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Is there anyway to find which quarter(fiscal period) of a given date?

narendrad
Kilo Contributor

Is there any OOB functionality or scripts to find the quarter(fiscal period) of a given date?

For example, if I pass current date(08/23/2017), I should see the quarter number like Q3.2017 as a result in return.

6 REPLIES 6

Hi Plamen-

If I have a client script, with a date, how would I call the script include and include the date to return the fiscal period?

I found the script include and function, I'm just not sure how to call that script include from a client script w/ the date like in your example-

 

Matthew

Is that a custom script include or part of the PPM module?