Time.toVariant

Overview | Methods | Fields | This Package | All Packages

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.