|Usage of DATETIME object [message #578651]
||Tue, 25 August 2009 20:24
| Guy Swartwood
Registered: August 2009
I am trying to use/manipulate the DATETIME variable type. In the begin block, I defined a new variable CallStartDateTime as a DATETIME type. In a script block, I am trying to concatenate the value of that DATETIME variable to a string. I have tried two ways without success:|
1. stringvar = "Call Start: " + Variables.CallStartDateTime.toString();
This resulted in a "toString" function could not be found (paraphrasing).
2. stringvar = "Call Start: " + Variables.CallStartDateTime;
This resulted in a "TypeError: Cannot find default value for object."
according to the IDataObject interface, it seems to me that it supports a toString fuction and IDateObject implements that... Am I missing something?
Powered by FUDForum
. Page generated in 0.01977 seconds