Date and time initialization

As soon as the form is opened, will be initial assigned the date and time value.

The example shows how a date field can be prefilled with the current or a calculated date. The current time is also set.

Via placeholder DATE

The easiest way to set the date is via system variables [% $DATE("dd.MM.yyyy", en) %]. Further informationen you will find unter System variables with parameters.

The easiest way to set the week of the year is via system variables [% $DATE("w", en) %]. Further informationen you will find unter System variables with parameters.

The easiest way to set the date in a diffrent format is via system variables [% $DATE("EEEE, d. MMM yyyy", en) %]. Further informationen you will find unter System variables with parameters.

The easiest way to set the time is via system variables [% $DATE("HH:mm:ss", en) %]. Further informationen you will find unter System variables with parameters.

Via Script
Enable JavaScript to see the sample code
powered by XIMA® formcycle