構文
DateTime.IsInCurrentSecond(dateTime as any) as nullable logical
バージョン情報
指定された datetime 値 dateTime システムの現在の日付と時刻によって決定される現在の秒の間に発生するかどうかを示します。
-
dateTime: 評価するdatetimeまたはdatetimezone値。
例 1
現在のシステム時刻が現在の 2 番目にあるかどうかを確認します。
使用方法
DateTime.IsInCurrentSecond(DateTime.FixedLocalNow())
アウトプット
true