year

This block is part of the date group and was last modified in core v10.4.28.

year v10.4.28

Get year of given date.

In pins 1
  • date required
    date

    The date from which to extract the year.

Out pins 1
  • Y
    number

    The year (numeric representation) extracted from the input date.

A typical wiring for year: the number out pin feeds cast to value.

Studio canvas example for the year block: typical wiring for year.

Version history

Introduced in v10.4.28.


Back to date Return to the main group to view all sub-groups Back to get Return to the group to view all blocks within this group