At the top of p. 25 of Tutorial #3, the code block says to add the line:
(a)
wdContext.currentContextElement().setBirthday(new Date(0)));
When I do this, an error message results saying that setBirthday takes a string argument.
So I change the above line to:
b)
wdContext.currentContextElement().setBirthday(new Date(0)));
and the error message goes away.
What's going on here? Is (a) a mistake in the tutorial, or have I overlooked something somewhere ?
Thanks
Dave