Skip to main content
Skip table of contents

Year

Methods

NameTypeDescription
$year.toInteger()Integer

This year as number.

$year.toString()String

This year formatted using a standard format pattern.

$year.toString(pattern)String

This year formatted using the specified format pattern.

ParameterTypeDescription
patternString


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.