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.
![Tom Wellige](http://content.invisioncic.com/r255538/monthly_2020_04/facebook2.thumb.png.7201b63ad83065920f23d2478c4a838f.png)
By Tom Wellige