# `Backpex.Fields.Time`
[🔗](https://github.com/naymspace/backpex/blob/0.23.0/lib/backpex/fields/time.ex#L3)

A field for handling a time value.

## Field-specific options

See `Backpex.Field` for general field options.

* `:format` - Format string which will be used to format the time value or function that formats the time.

  Can also be a function which receives a `Time` and must return a string. Empty (`nil`) values are rendered as "—"
  and never passed to the function.

  The default value is `"%I:%M %p"`.

* `:debounce` - Timeout value (in milliseconds), "blur" or function that receives the assigns.

* `:throttle` - Timeout value (in milliseconds) or function that receives the assigns.

## Examples

    @impl Backpex.LiveResource
    def fields do
      [
        created_at: %{
          module: Backpex.Fields.Time,
          label: "Deliver By",
          format: "%I:%M %p"
        }
      ]
    end

# `config_schema`

Returns the schema of configurable options for this field.

This can be useful for reuse in other field modules.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
