---
title: DateTimeZone.ToText – แปลง DateTimeZone เป็นข้อความ
url: https://www.thepexcel.com/functions/power-query/datetimezone-functions/datetimezone-totext/
type: function-explainer
program: Power Query
syntax: "DateTimeZone.ToText(dateTimeZone as nullable datetimezone, optional options as any, optional culture as nullable text) as nullable text"
date: 2025-12-03
updated: 2025-12-17
scores:
  popularity: 4
  difficulty: 3
  usefulness: 4
---

# DateTimeZone.ToText – แปลง DateTimeZone เป็นข้อความ

> แปลง DateTimeZone เป็นข้อความ

## คำอธิบาย

แปลง DateTimeZone เป็นข้อความ

## Syntax

```excel
DateTimeZone.ToText(dateTimeZone as nullable datetimezone, optional options as any, optional culture as nullable text) as nullable text
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| dateTimeZone | Yes | datetimezone |  | ค่า DateTimeZone |
| options | No | any |  | รูปแบบ Format |

## ตัวอย่าง

### 1. แปลงเป็นข้อความ

```excel
DateTimeZone.ToText(DateTimeZone.LocalNow())
```

**ผลลัพธ์:** `"30/11/2025 3:30:00 PM +07:00"`

แสดงวันเวลาพร้อม Timezone

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

- [DateTimeZone.From – แปลงค่าเป็น DateTimeZone](https://www.thepexcel.com/functions/power-query/datetimezone-functions/datetimezone-from/)
- [DateTime.ToText – แปลง DateTime เป็นข้อความ](https://www.thepexcel.com/functions/power-query/datetime-functions/datetime-totext/)

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

- [PowerQuery.how](https://powerquery.how/datetimezone-totext/) _(guide)_

---

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