Skip to main content

Current date

This element displays the date of the scenario. During execution, the date is updated automatically and it is possible to send the year, month, day, hours, minutes, seconds and the milliseconds of the date to the models. To edit the date of the scenario, you need to edit scenario parameters.

This element must be used with HMI context.

Icon

currentDate

HMI Representation

currentDate

External parameters

Show/Hide all parameters
parametereditable via "Parameter" tabupdatable via a mappingdescriptionunittype
Style✔️✔️CSS style of the element. You can change here parameters of the elements that are not already present in other fields. Choose a preset definition.-CSS
X-axis position✔️✔️Position of the element on the X-axis.pxInteger number
Y-axis position✔️✔️Position of the element on the Y-axis.pxInteger number
Visibility✔️✔️This parameter allows you to choose if you want the element to be visible or not on the scene during the execution of the scenario. If the item is part of a group, it can inherit the value of that group.-Enumeration (visible, hidden, inherit)
YearThe current year of the scenario.-Integer number
MonthThe current month of the scenario (1:january, 2:february...).-Integer number
DayThe current day of the month.-Integer number
HoursThe hour of the current scenario date.-Integer number
MinutesThe minutes of the current scenario date.-Integer number
SecondsThe second of the current scenario date.-Integer number
MillisecondsThe millisecond of the current scenario date.-Integer number
Angle✔️✔️Angle of rotation of the element compared to its initial position.degreeDecimal number
Timestamp✔️✔️Number of milliseconds since January 1st 1970MillisecondsInteger
Display✔️✔️Date format type-Enumeration (All (French), HH:MM, DD/MM/YYYY, MM//DD/YYYY)
Font size✔️✔️Text font size.-Integer number
Color✔️✔️Color of the element. This parameter can be edited.-Hexadecimal

Triggered behaviours

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all triggered behaviours

Destroy

At the reception of the flow, the element is destroy.

No parameters for this triggered behaviour.

Events

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all events
eventdescription
On Parameter Value ChangedThe element can send information to the model when the value of the selected parameter has changed
At initializationThe date input can send information to the model once at initialization
ContinuallyThe date input can send information to the model continuously