Gambas Documentation
Application Repository
Compilatie & Installatie
Componenten
Developer Documentation
Documenten
Foutboodschappen
Hoe...
Laatste Wijzigingen
Language Overviews
LeesMij
Lexicon
Taal Index
Array Declaratie
BREAK
Choose
CONTINUE
DEC
DO
END WITH
Exist
FOR
FOR EACH
GOTO
INC
LOOP
NEXT
OPEN
QUIT
REPEAT
RETURN
STATIC
STOP
TRUE
UNTIL
WEND
WHILE
WITH
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Year
Result
= Year (
Date
As Date
)
Return the year component of a
Date
value as a integer value in the local timezone.
Example
Print
Now
;
" -> "
;
Year
(
Now
)
05/16/2002 22:31:30 -> 2002
See also
Date & Time Functions