Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

GetTimeInfoV Method, SftMaskCalendar Object

Converts a time into its components.

Syntax

VB.NETobject.GetTimeInfoV(ByVal Dt As Date, ByRef Hours As Object, ByRef Minutes As Object, ByRef Seconds As Object)
VBobject.GetTimeInfoV(ByVal Dt As Date, Hours As Variant, Minutes As Variant, Seconds As Variant)
C#.NETvoid object.GetTimeInfoV(System.DateTime Dt, out object Hours, out object Minutes, out object Seconds);
VC++HRESULT object->GetTimeInfoV(DATE Dt, const _variant_t&* Hours, const _variant_t&* Minutes, const _variant_t&* Seconds);
CHRESULT object->raw_GetTimeInfoV(DATE Dt, VARIANT* Hours, VARIANT* Minutes, VARIANT* Seconds);

object

A SftMaskCalendar object.

Dt

The time to be converted.

Hours

Returns the hours as specified by Dt.

Minutes

Returns the minutes as specified by Dt.

Seconds

Returns the seconds as specified by Dt.

Comments

The GetTimeInfoV method converts a time into its components.

GetTimeInfoV can be used to convert a date into its hours, minutes and seconds components. Calendar.GetDateInfo is used to retrieve the date related components.

GetTimeInfoV is used for languages such as VBScript, which are limited by requiring Variant arguments and do not support strongly typed arguments for return values. For more information please see Using SftMask/OCX with Internet Explorer.

See Also SftMaskCalendar Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.