Date.IsInCurrentQuarter

语法

Date.IsInCurrentQuarter(dateTime as any) as nullable logical 

关于

指示给定的日期时间值 dateTime 是否按系统当前日期和时间所确定的那样处于当季度内。

  • dateTime:要计算的 datedatetimedatetimezone 值。

示例 1

确定当前系统时间是否处于当前季度。

使用情况

Date.IsInCurrentQuarter(DateTime.FixedLocalNow())

输出

true

results matching ""

    No results matching ""