year

Get the Time year field.

Signature

year: Number

Description

Get the Time year field.

Return value

Type Description

Number

The year.

Examples

Time('2099-02-10T12:01:19.000Z').year
2099

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!