Time

Overview #

Time Selection. Saves value in ticks with defined offset. It will save time as number of seconds from the midnight by default.

Field Type Parameters: #

  1. Min (From) Time (optional) – Minimum (From) Time that can be selected.
  2. Max (To) Time (optional) – Maximum (To) Time that can be selected.
  3. Step (optional) – Selection increment. You can use h – hours, m – minutes, s – seconds. Or combined: 1h5m
  4. Save Ticks (optional) – Save the value as a number of ticks.
  5. Save Tick Offset (optional) – Save value offset number.

Value Processing Parameters: #

Basic usage:

{{ FieldName }}

Usage with parameters:

{{ FieldName(Format) }}
  1. Format (optional) – PHP date format i.e. ‘h:i:s’

Example:

{{ FieldName("h:i") }}


Pure Value (Unprocessed): #

Example:

{{ FieldName.value }}


Edit Record Parameters: #

Basic usage:

{{ FieldName.edit }}

Usage with parameters:

{{ FieldName.edit(CSS Class, Attributes, Format) }}
  1. CSS Class (optional) – Name or names of CSS class(s).
  2. Attributes (optional) – Optional attributes like: disabled, onclick, onchange etc.
  3. Format (optional) – Date/Time format. Similar to PHP date format.

What are your feelings

Leave a Reply

Updated on January 9, 2025