HeaderPane
Main
Hide
Share Link
Print

GetDateInfoV Method, SftMaskCalendar Object

Converts a date into its components.

Syntax

C#void object.GetDateInfoV(System.DateTime Dt, out object Year, out object Month, out object Day, out object DayOfWeek);
VB.NETobject.GetDateInfoV(ByVal Dt As Date, ByRef Year As Object, ByRef Month As Object, ByRef Day As Object, ByRef DayOfWeek As Object)
C++HRESULT object->GetDateInfoV(DATE Dt, const _variant_t&* Year, const _variant_t&* Month, const _variant_t&* Day, const _variant_t&* DayOfWeek);
CHRESULT object->raw_GetDateInfoV(DATE Dt, VARIANT* Year, VARIANT* Month, VARIANT* Day, VARIANT* DayOfWeek);
VBobject.GetDateInfoV(ByVal Dt As Date, Year As Variant, Month As Variant, Day As Variant, DayOfWeek As Variant)

object

A SftMaskCalendar object.

Dt

The date to be converted.

Year

Returns the year as specified by Dt.

Month

Returns the month as specified by Dt, a value in the range 1-12.

Day

Returns the day as specified by Dt, a value in the range 1-31.

DayOfWeek

Returns the day of the week (Sunday = 0, Monday = 1, etc.).

Comments

The GetDateInfoV method converts a date into its components.

GetDateInfoV can be used to convert a date into its month, day, year components. Calendar.GetTimeInfo is used to retrieve the time related components.

GetDateInfoV 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 11/03/2026 - (email)
© 2026 Softel vdm, Inc.