Description

The TimeBuilder component creates an AbsTime date from the following parameters: year, month, day, hour and minute.


Implementation

  • Drag and drop the TimeBuilder component into the station
  • Enter a year, a month, a day, an hour and the minutes


Properties

  • Status: The state of the component. By default this is {ok} and changes to a {fault} state if the date could not be created
  • FaultCause: the description of the error in case the date could not be created
  • Date: The date created from the year, month, day, hour and minute properties. If the date could not be created, then the property takes its default value (January 1, 1970)
  • Year: the year of the date to be created
  • Month: the month
  • Day: the day of the month

If the number is negative, the date will be equal to the first of the selected month minus the number of days entered. Example: 2016, August, -5 = July 26, 2016

If the number is greater than the number of days in the month, the date will be equal to the first of the selected month plus the number of days entered. Example: 2016, August, 33 = September 2, 2016

  • Hour: the hour
  • Minutes: the minutes