VBScript → Lua
This function returns the current date and time of the script user.
PBXUser.Now
This function returns a datetime value.
Unlike the VBScript build-in function Now, which returns the local date and time of the SwyxWare machine, this function returns the current time according to the time-zone the script user is located in.
The time-zone is configured within the Location settings, and every user is linked to a Location.
This function is identical to the GSE build-in function CurDateTime().
By Tom Wellige