---
order: 7
title:
zh-CN: 12 小时制
en-US: 12 hours
---
## zh-CN
12 小时制的时间选择器,默认的 format 为 `h:mm:ss a`。
## en-US
TimePicker of 12 hours format, with default format `h:mm:ss a`.
```tsx
import { TimePicker } from 'antd';
import type { Moment } from 'moment';
import React from 'react';
const onChange = (time: Moment, timeString: string) => {
console.log(time, timeString);
};
const App: React.FC = () => (
<>
>
);
export default App;
```