Thep Excel

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

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

fx
=DateTimeZone.ToText(dateTimeZone as nullable datetimezone, optional options as any, optional culture as nullable text) as nullable text

ความนิยม4/10
ความยาก3/10
ประโยชน์4/10

อัปเดต 3 December 2025

Syntax & Arguments

อาร์กิวเมนต์ ชนิด คำอธิบาย
dateTimeZone datetimezone ค่า DateTimeZone
[options]ไม่บังคับ any รูปแบบ Format

[ ] = อาร์กิวเมนต์ที่ไม่บังคับ

ฟังก์ชัน DateTimeZone.ToText ใน Power Query ช่วยแปลง DateTimeZone เป็นข้อความ

Examples

แปลงเป็นข้อความDateTimeZone.ToText(DateTimeZone.LocalNow())

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

fx
=DateTimeZone.ToText(DateTimeZone.LocalNow())

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

Resources & Related

ฟังก์ชันที่ผู้เขียนโยงไว้กับ DateTimeZone.ToText จัดกลุ่มตามหมวด · ชี้ที่ชื่อใดชื่อหนึ่ง แล้วฟังก์ชันที่ใช้คู่กันจะมีจุดทอง

ฟังก์ชันนี้DateTimeZone.ToTextDateTimeZone functions
DateTime functions (1)
DateTime.ToText

แปลงค่า DateTime เป็นข้อความ (Text) โดยสามารถกำหนดรูปแบบวันที่และเวลาตามต้องการได้

DateTimeZone functions (1)
DateTimeZone.From

แปลงค่าเป็น DateTimeZone (วันที่, เวลา และ Timezone)

Comments

อีเมลของคุณจะไม่ถูกเผยแพร่