VBScript → Lua
The function returns the current year (yyyy) according to the script user's location.
Dim sYear sYear = CurYear()
or if being used directly within a GSE property dialog, e.g. in a Say Number block to directly announce the current year (read as single digits, not a number) to the caller:
This function returns a four digit string value.
This function can be called at any time within the call routing script.