Skip to main content
Skip table of contents

Year

Methods

Name

Type

Description

$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.

  • Parameter: pattern

  • Type: String


JavaScript errors detected

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

If this problem persists, please contact our support.