I'm trying to get the current system date using the Today method of the Date object. I took the following code right from the example in the help file:
var currentDate = XDocument.Util.Date.Today();
But when I try to run it, I get the following error:
Variable uses an Automation type not supported JScript
Any ideas?