Skip to main content

Get-Year

Command Description

Get the year of a time

Command Prototype

iRet = Time.Year(dTime)

Parameter Description

ParameterRequiredTypeDefaultDescription
dTimeTrueexpressiontRetThe time when the data is obtained

return

iRet,The variable used to save the output of the command.

Demo

Dim iRet 
iRet Time.Year(44601.642673611)
TracePrint(iRet)
/**
iRet 2022
*/