Lua → VBScript SwxWare v13.10
This function returns date and time when the current call reached the call routing of the user.
local sCallStart = CallStart() -- in "%d.%m.%Y %H:%M:%S" format
or if being used directly within a GSE property dialog, e.g. in a Say Time block to directly announce the start time to the caller:
This function returns a string value. The date/time is formatted like "%d.%m.%Y %H:%M:%S".
This function can be called at any time within the call routing script.
The start date/time will be request 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