This method is obsolete. See the Remarks section below. |
Description
The Utilities.DecodeTime
method splits the specified time value into hours, minutes, seconds and milliseconds and stores them to the Hour, Min, Sec and MSec parameters correspondingly.
Declaration
Utilities.DecodeTime(Time, Hour, Min, Sec, MSec)
Time | [in] | Required | Variant | |
Hour | [out] | Required | Integer | |
Min | [out] | Required | Integer | |
Sec | [out] | Required | Integer | |
MSec | [out] | Required | Integer | |
Result | None |
Applies To
The method is applied to the following object:
Parameters
The method has the following parameters:
Time
Specifies the date that will be decoded.
Hour
Holds the hours extracted from the specified time.
Min
Holds the minutes extracted from the specified time.
Sec
Holds the milliseconds extracted from the specified time.
MSec
Result Value
None.
Remarks
Currently, this function works only in VBScript and DelphiScript scripts.
This method is obsolete. It is supported for backward compatibility only. To extract hours, minutes and seconds from a time value, use the aqDateTime.GetHours
, aqDateTime.GetMinutes
and aqDateTime.GetSeconds
methods, respectively.
See Also
Working With Time
GetHours Method
GetMinutes Method
GetSeconds Method
Today Method
Now Method
GetYear Method
GetMonth Method
GetDay Method
SetTimeElements Method