Get-Year
Command Description
Get the year of a time
Command Prototype
iRet = Time.Year(dTime)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
dTime | True | expression | tRet | The 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
*/