get

英[get] 美[ɡɛt]

vt. Get; catch; persuade; receive (punishment, etc.)

vt.& vi. Arrive, come

vi. Become; start; try to deal with; obtain benefits or wealth

n. Reproduce, cub; profit

Third person singular : gets present participle: getting past tense: got past participle: got gotten

full

##英[fʊl]  美[fʊl]  

adj. Full, full; complete, complete; rich; exhaustive

adv. extremely, very; fully, completely; whole; directly

n.all; Complete; full, complete; at its peak

v. To sew clothes wide; to sew pleats into skirts; [print] steaming, rinsing

Comparative: fuller Superlative: fullest

year

英[jɪə(r)] 美[jɪr]

n.Year; age; period of one year; certain grade students

plural: years

javascript getFullYear() method syntax

Function: Returns a 4-digit number representing the year.

Syntax: dateObject.getFullYear()

Returns: The year returned when dateObject is represented in local time. The return value is a four-digit number representing the full year including the century value, not the two-digit abbreviation.

Note: This method is always used in conjunction with a Date object.

javascript getFullYear() method example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script type="text/javascript">

    var d = new Date()
    document.write(d.getFullYear())

</script>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance