![]() |
This method is obsolete. See the Remarks section below. |
Description
Use the Utilities.DecodeDate method to extract the year, month and day of the month from the date specified by the Date parameter.
Declaration
Utilities.DecodeDate(Date, Year, Month, Day)
| Date | [in] | Required | Variant | |
| Year | [out] | Required | Integer | |
| Month | [out] | Required | Integer | |
| Day | [out] | Required | Integer | |
| Result | None | |||
Applies To
The method is applied to the following object:
Parameters
The method has the following parameters:
Date
Specifies the date that will be decoded.
Year
Holds the year extracted from the specified date.
Month
Holds the month extracted from the specified date.
Day
Holds the day of the month extracted from the specified date.
Result Value
None.
Remarks
Currently, this function works only in VBScript and DelphiScript scripts.
The Utilities.DecodeDate method is obsolete and supported for backward compatibility only. To extract the year, month and day parts of a specific date, use the aqDateTime.GetYear, aqDateTime.GetMonth and aqDateTime.GetDay methods, respectively.
See Also
Working With Dates
aqDateTime.GetYear Method
aqDateTime.GetMonth Method
aqDateTime.GetDay Method
aqDateTime.Today Method
aqDateTime.Now Method
aqDateTime.SetDateElements Method
aqDateTime.IsLeapYear Method
aqDateTime.AddMonths Method
aqDateTime.SetDateElements Method

