---
title: List.Dates – สร้างรายการวันที่
url: https://www.thepexcel.com/functions/power-query/list-functions/list-dates/
type: function-explainer
program: Power Query
syntax: "List.Dates(start as date, count as number, step as duration) as list"
date: 2025-12-03
updated: 2025-12-17
scores:
  popularity: 5
  difficulty: 3
  usefulness: 5
---

# List.Dates – สร้างรายการวันที่

> สร้างรายการวันที่

## คำอธิบาย

สร้าง List ของวันที่เรียงกัน

## Syntax

```excel
List.Dates(start as date, count as number, step as duration) as list
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| start | Yes | date |  | วันเริ่มต้น |
| count | Yes | number |  | จำนวนวัน |
| step | Yes | duration |  | ระยะห่าง (เช่น #duration(1,0,0,0)) |

## ตัวอย่าง

### 1. สร้างวันที่

```excel
List.Dates(#date(2025,1,1), 3, #duration(1,0,0,0))
```

**ผลลัพธ์:** `{1 Jan, 2 Jan, 3 Jan}`

สร้าง 3 วัน

## ฟังก์ชันที่เกี่ยวข้อง

- [List.DateTimes – สร้าง List ของค่า วันที่และเวลา](https://www.thepexcel.com/functions/power-query/list-functions/list-datetimes/)
- [List.DateTimeZones – สร้าง List ของค่า วันที่ เวลา และ Time Zone](https://www.thepexcel.com/functions/power-query/list-functions/list-datetimezones/)
- [List.Durations – สร้าง List ของค่า Duration (ช่วงเวลา)](https://www.thepexcel.com/functions/power-query/list-functions/list-durations/)
- [List.Numbers – สร้างลำดับตัวเลข](https://www.thepexcel.com/functions/power-query/list-functions/list-numbers/)
- [List.Times – สร้างรายการเวลา](https://www.thepexcel.com/functions/power-query/list-functions/list-times/)

## แหล่งข้อมูลเพิ่มเติม

- [PowerQuery.how](https://powerquery.how/list-dates/) _(guide)_

---

_Source: [https://www.thepexcel.com/functions/power-query/list-functions/list-dates/](https://www.thepexcel.com/functions/power-query/list-functions/list-dates/)_
