Date and Time Picker(日期和时间选择器)¶
The Date and Time Picker widget can be used to allow a user to enter a single date and time value.

Configuration Options¶
- Label
- Sets an optional label for the widget. This text is displayed across the top of the widget.
- Selected timestamp
- Output variable of the widget, storing the user’s selected date and time value.
- Date format
- Sets the date format displayed by the widget.
- Time format
- Sets the time format displayed by the widget, either using a 12-hour clock or a 24-hour clock.
- Time precision
- Sets the time precision used by the widget, down to the millisecond, second, or minute.
- Timezone user editable
- Toggle controlling whether or not the timezone of the widget is adjustable in view mode by the user.
- Default timezone
- Sets the default timezone used by the widget. This can be set statically by manually selecting the timezone, dynamically using a variable, or set to local which uses the viewer’s local timezone.
中文翻译¶
日期和时间选择器¶
日期和时间选择器(Date and Time Picker)微件(Widget)可用于让用户输入单一的日期与时间值。

配置选项¶
- 标签
- 为微件设置可选标签。该文本显示在微件顶部。
- 选定的时间戳
- 微件的输出变量,用于存储用户选定的日期和时间值。
- 日期格式
- 设置微件显示的日期格式。
- 时间格式
- 设置微件显示的时间格式,可采用12小时制或24小时制。
- 时间精度
- 设置微件使用的时间精度,可精确至毫秒、秒或分钟。
- 用户可编辑时区
- 切换开关,用于控制用户是否可以在查看模式下调整微件的时区。
- 默认时区
- 设置微件使用的默认时区。该选项可通过手动选择时区进行静态设置,通过变量进行动态设置,或设置为“local”以使用查看者的本地时区。