次の方法で共有


Date.IsInCurrentMonth

構文

Date.IsInCurrentMonth(dateTime as any) as nullable logical  

バージョン情報

指定した datetime 値 dateTime が、システムの現在の日付と時刻によって決定された現在の月に発生するかどうかを示します。

  • dateTime: 評価する datedatetime、または datetimezone 値。

例 1

現在のシステム時刻が現在の月にあるかどうかを判断します。

使用方法

Date.IsInCurrentMonth(DateTime.FixedLocalNow())

アウトプット

true