VBScript → Lua
The function returns the current minute (00-59) according to the script user's location.
Dim sMinute sMinute = CurMinute()
or if being used directly within a GSE property dialog, e.g. in a Say Number block to directly announce the current minute to the caller:
This function returns a two digit string value.
This function can be called at any time within the call routing script.
The current time 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.