# Format Time URL: https://ark-ui.com/docs/utilities/format-time LLM: https://ark-ui.com/llms.txt/utilities/format-time Used to format time values to a specific locale and options --- ## Usage The time formatting logic supports both string (`HH:mm[:ss]`) and `Date` inputs. ```jsx import { Format } from '@ark-ui/react' ``` ## Examples ### Basic Use the `Format.Time` component to format a time value with default options. ### Date Use a `Date` object as the `value`. ### Seconds Use the `withSeconds` prop to include seconds in the output. ### AM/PM Labels Use `amLabel` and `pmLabel` to customize day-period labels when using 12-hour format. ### Locale Use the locale provider to format the time according to a specific locale.