GetTimeComponentsHR (function)

Syntax GetTimeComponentsHR  param1, param2, param 3 ….9
Description Components of the time. Current time divided into time components of year, month, day, hour, min, sec and nanoseconds.
Param1 Double. High value of input time.
Param2 Double. Low value of input time.
Param3 Integer. Timecomponent.
Param4 Integer. Timecomponent.
Param5 Integer. Timecomponent.
Param6 Integer. Timecomponent.
Param7 Integer. Timecomponent.
Param8 Integer. Timecomponent.
Param9 Long. Nanosecond time component.
Example
Sub Main()
 
Dim yy As Integer
Dim mm As Integer
Dim dd As Integer
Dim hh As Integer
Dim min As Integer
Dim sec As Integer
Dim nano As Long
 
Dim localpoint As New Point
Dim result As Boolean
 
localpoint.id =  "\\$LOCAL\$LOCAL.DATETIME_VARUPDATE"
result = localpoint.GetQuadIntValue(qhigh,qlow)
GetTimeComponentsHR  qhigh,qlow,yy,mm,dd,hh,min,sec,nano
End Sub
See also GetCurTimeHR (function), SetTimecomponentsHR (function)