API access to DateTime values

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Mar 7 09:33:49 CST 2006


On 3/7/06 5:38 AM, "Matthew Jew" <mjew at icnc.com> wrote:

Hi Matthew,

> I have been working with the C++ VSDK using the "Class way" and the
> API way.
 
> I am unsure about how to get an I_ValueDateTime from an FBL_I_Field.
> The method "get_Value" returns a Const_I_Value_Ptr, which lets me
> access String and numeric values.
> 
> How do I get an I_ValueDateTime out of an FBL_I_Field?
> 
> I do NOT want the DateTime value as either a string or numeric value.

    I_Value_Ptr pv = fld->get_Value();
    I_ValueDateTime_Ptr pdtv = fbl_dynamic_cast<I_ValueDateTime>( pv );



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list