realbasic-plugins
[Top] [All Lists]

Re: Create Variant of type "date"

To: kirill_pekarov <kirill_pekarov at valentina-db dot com>, REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Create Variant of type "date"
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Mon, 11 Dec 2006 07:40:55 -0600
Cc:
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <347419358 dot 20061211134001 at valentina-db dot com>

On Dec 11, 2006, at 5:40 AM, Kirill Pekarov wrote:

Hi, All.

Help me please resolve my task.
I need to create in plugin Variant of the "Date" type, fill it and return
to the RB. But I'm can't find something like REALNewVariantDate().

How can I create Variant of the "Date" type?

There are anybody who has resolved this?

A "Date" variant is simply an Object variant that contains a Date. Since REALobjects can be returned as variants, just simply return the date.

HTH,
Jon


--
Jonathan Johnson
jonj at realsoftware dot com
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>