Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Voicetools » Usage of DATETIME object
Usage of DATETIME object [message #578651] Tue, 25 August 2009 20:24
Guy Swartwood is currently offline Guy SwartwoodFriend
Messages: 2
Registered: August 2009
Junior Member
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?
Previous Topic:Usage of DATETIME object
Next Topic:How to call a webservice in OpenVXML 3.0
Goto Forum:
  


Current Time: Sat Nov 22 16:46:37 GMT 2014

Powered by FUDForum. Page generated in 0.01977 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software