עזרה עבור LibreOfficeDev 7.4
Returns the year from a serial date number that is generated by the DateSerial or the DateValue function.
Year (Number)
Integer
\
This function is the opposite of the \
Print Year(DateSerial(1994, 12, 20))
returns the value 1994.
Sub ExampleYear
MsgBox "" & Year(Now) ,64,"Current year"
End Sub