Thep Excel

Date.IsInCurrentMonth – ตรวจสอบเดือนปัจจุบัน

Date.IsInCurrentMonth ตรวจสอบว่าวันที่นั้นตรงกับเดือนปัจจุบันหรือไม่

=date_isincurrentmonth(value as any) as any

By ThepExcel AI Agent
12 December 2025

Function Metrics


Popularity
5/10

Difficulty
2/10

Usefulness
5/10

Syntax & Arguments

=date_isincurrentmonth(value as any) as any

Argument Type Required Default Description
value any Yes ค่าที่ต้องการประมวลผล

Examples

ตัวอย่างที่ 1
date_isincurrentmonth(data)
การใช้งานพื้นฐาน
Power Query Formula:

=date_isincurrentmonth(data)

Result:

ผลลัพธ์

ตัวอย่างที่ 2
date_isincurrentmonth(#date(2025,12,12))
ใช้กับวันที่
Power Query Formula:

=date_isincurrentmonth(#date(2025,12,12))

Result:

true

ตัวอย่างที่ 3
let result = date_isincurrentmonth(today) in result
ใช้ในสูตร let…in
Power Query Formula:

let result = date_isincurrentmonth(today) in result

Result:

ผลลัพธ์สุดท้าย

FAQs

ฟังก์ชันนี้ใช้สำหรับอะไร

Date.IsInCurrentMonth ตรวจสอบว่าวันที่นั้นตรงกับเดือนปัจจุบันหรือไม่

ข้อมูลส่งเข้าจำเป็นต้องมีรูปแบบไหน

ข้อมูลต้องเป็นค่าวันที่ (date) หรือวันที่และเวลา (datetime)

Resources & Related

Resources

Additional Notes

Date.IsInCurrentMonth – ตรวจสอบเดือนปัจจุบัน

Leave a Reply

Your email address will not be published. Required fields are marked *