|
|
|
SftMaskCalendar.GetTimeInfoV Method |
Converts a time into its components.
Syntax
VB.NET |
object.GetTimeInfoV(ByVal Dt As Date, ByRef Hours As Object, ByRef Minutes As Object, ByRef Seconds As Object) |
||
VB |
object.GetTimeInfoV(ByVal Dt As Date, Hours As Variant, Minutes As Variant, Seconds As Variant) |
||
C#.NET |
void 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); |
||
C |
HRESULT object->raw_GetTimeInfoV(DATE Dt, VARIANT* Hours, VARIANT* Minutes, VARIANT* Seconds); |
||
Delphi |
procedure object.GetTimeInfoV(Dt : TDateTime, out Hours : OleVariant, out Minutes : OleVariant, out Seconds : OleVariant); |
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.