Skip to main content
Version: Next

Get Datetime Attributes

Get the attributes of a datetime.

Description

Provides the years, the months, the days, the hours, the minutes and the seconds of a datetime object.

Inputs

  • date (DateTime): The datetime from which we want to get the attributes.

Outputs

  • year (Number): The year of the given datetime.
  • month (natural) (Number): The month of the given datetime.
  • day of the month (Number): The day of the month of the given datetime.
  • hour (24-format) (Number): The hour of the given datetime.
  • minutes (Number): The minutes of the given datetime.
  • seconds (Number): The seconds of the given datetime.