Lua → VBScript SwxWare v13.10
The function returns the current year (0-9999) according to the script user's location.
local nYear = 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 number value.
This function can be called at any time within the call routing script.