Share this page

# lrc_variant_date

Assignment to Variants

Assigns a string to a date value in a variant.

    VARIANT lrc_variant_date( const char* str );

    VARIANT lrc_variant_date_by_variant( const char* str );

str | A character string representing a date.

The lrc_variant_date function converts a string containing a date value into date value stored in a variant.

The lrc_variant_date_by_variant function converts a converts a string containing a date value into date value and returns a variant containing a reference to the variant containing the date.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

## Example

This example assigns the character string into a date value stored in a variant.

    VARIANT Var = lrc_variant_date("04/01/1900");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: