Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Voicetools » Usage of DATETIME object(how to use it.)
Usage of DATETIME object [message #482251] 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:Orphaned connector (cross post)
Next Topic:How to call a webservice in OpenVXML 3.0
Goto Forum:

Current Time: Mon Jul 06 18:34:34 GMT 2020

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

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

Back to the top