Converts a time into its components.
| C# | void object.GetTimeInfoV(System.DateTime Dt, out object Hours, out object Minutes, out object Seconds); |
| VB.NET | object.GetTimeInfoV(ByVal Dt As Date, ByRef Hours As Object, ByRef Minutes As Object, ByRef Seconds As Object) |
| C++ | 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); |
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.
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.
See Also SftMaskCalendar Object | Object Hierarchy