naive-ui/demo/documentation/components/datePicker/enUS/datetimerange.md
2019-10-15 14:55:05 +08:00

332 B

Datetime Range

<n-date-picker
  v-model="range1"
  type="datetimerange"
/>
<n-date-picker
  v-model="range2"
  type="datetimerange"
/>
export default {
  data() {
    return {
      range1: null,
      range2: [1562774466000, 1567180866000]
    };
  }
};
.n-date-picker {
  margin: 0 12px 8px 0;
}