Date.IsInNextNWeeks ตรวจสอบว่าวันที่นั้นอยู่ใน N สัปดาห์ถัดไปหรือไม่
=date_isinnextnweeks(value as any) as any
=date_isinnextnweeks(value as any) as any
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
| value | any | Yes | ค่าที่ต้องการประมวลผล |
date_isinnextnweeks(data)=date_isinnextnweeks(data)
true/false
date_isinnextnweeks(#date(2025,12,13))=date_isinnextnweeks(#date(2025,12,13))
true
let result = date_isinnextnweeks(tomorrow) in resultlet result = date_isinnextnweeks(tomorrow) in result
ผลลัพธ์สุดท้าย
Date.IsInNextNWeeks ตรวจสอบว่าวันที่นั้นอยู่ใน N สัปดาห์ถัดไปหรือไม่
ข้อมูลต้องเป็นค่าวันที่ (date) หรือวันที่และเวลา (datetime)
Date.IsInNextNWeeks – ตรวจสอบ N สัปดาห์ถัดไป