Microsoft SDK for Java

Time.toVariant

Retrieves this Time object as a com.ms.com.Variant object.

Syntax

public Variant toVariant()

Return Value

Returns a com.ms.com.Variant that represents the time and date stored in this Time object.

Remarks

Use this method to convert this Time object to a value that can be used with COM objects and ActiveX controls.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.