Jump to content
Tom Wellige

CurMonth()

Recommended Posts

The function returns the current month (01-12) according to the script user's location.

 

Dim sMonth
sMonth = CurMonth()

 

or if being used directly within a GSE property dialog, e.g. in a Say Number block to directly announce the current month to the caller:

 

gse_function_curmonth.png.6ffc553d5e22af

 

This function returns a two digit string value.

 

This function can be called at any time within the call routing script.

 

The current date will be requested making use of the Server Script API function PBXUser.Now. This ensures that the location configuration (time zone) of the script user will be considered.
 

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.