Wählen Sie Ihre Sprache:

<we:input type="date">

Since version: 1.5.2 | Requires endtag: no

Description

This tag is used to enter a date and clock time in edit mode. The output can be formatted by the editor.

Attributes

type

Default value: - | since version: - | required: yes

Allowed values:

  • date

name

Default value: - | since version: - | required: yes

Set this attribute to a unique name within the webEdition document.


format

Default value: - | since version: - | required: no

Set this attribute to determine the format of the output.

The following arguments are allowed:

Format character Description
d Day of month, two-digit with leading null: "01" to "31"
D Day of week in shortened form, e.g. "Fr"
F Month as a word, e.g. "January"
g Hour in a 12-hour format without leading null: "1" to "12"
G Hour in a 24-hour format without leading null: "0" to "23"
h Hour in a 12-hour format: "01" to "12"
H Hour in a 24-hour format: "00" to "23"
i Minutes: "00" to "59"
j Day of month without leading null: "1" to "31"
l (lower case 'L') day of week in full form, e.g. "Friday"
m Month: "01" to "12"
M Month in shortened form, e.g. "Jan"
n Month without leading null: "1" to "12"
s Seconds: "00" to "59"
t Number of days in the given month: "28" to "31"
w Weekday starting with "0" (Sunday) to "6" (Saturday)
Y Year as a four-digit number, e.g. "1999"
y Year as a two-digit number, e.g. "99"
z Day of the year: "0" to "365"

user

Default value: - | since version: - | required: no

Set this attribute to a list of comma seperated usernames. These are the users permitted to make changes. This attribute requires the User Management (Standard or PRO) Module.


htmlspecialchars

Default value: false | since version: - | required: no

Using htmlspecialchars="true" will change all special chars into HTML entities ("&" is transformed to "&"). If htmspecialchars is "false" or not set, all special chars remain unchanged.

Allowed values:

  • true
  • false

cachelifetime

Default value: 0 | since version: 4.2.0.0 | required: no

With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.


Syntax

<we:input type="date" name="attribute" [format="attribute"] [user="attribute"] [htmlspecialchars="true|false"] [cachelifetime="attribute"] />