メインコンテンツまでスキップ

Date.EndOfQuarter

四半期の最後の日付を返します。

Syntax​

Date.EndOfQuarter(
dateTime as any
) as any

Remarks​

dateTime を含む四半期の最後の日付を返します。タイム ゾーン情報は保持されます。

  • dateTime: 四半期の終わりが計算される date、datetime、または datetimezone 値。

Examples​

Example #1​

2011 年 10 月 10 日午前 8 時の四半期の終わりを調べます。

Date.EndOfQuarter(#datetime(2011, 10, 10, 8, 0, 0))

Result:

#datetime(2011, 12, 31, 23, 59, 59.9999999)

Category​

Date