Lua → VBScript SwxWare v13.10
The function returns the current day (1-31) according to the script user's location.
local nDay = CurDay()
or if being used directly within a GSE property dialog, e.g. in a Say Number block to directly announce the current day to the caller:
This function returns a number 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.
By Tom Wellige