DateTime.IsInCurrentMinuteDateTime.IsInCurrentMinute
構文Syntax
DateTime.IsInCurrentMinute(dateTime as any) as nullable logical
バージョン情報About
システム上の現在の日時によって決定される現在の分に、指定された datetime 値 dateTime
が含まれるかどうかを示します。Indicates whether the given datetime value dateTime
occurs during the current minute, as determined by the current date and time on the system.
dateTime
: 評価されるdatetime
またはdatetimezone
値。dateTime
: Adatetime
, ordatetimezone
value to be evaluated.
例 1Example 1
システムの現在の時刻が、現在の分に含まれるかどうかを調べます。Determine if the current system time is in the current minute.
DateTime.IsInCurrentMinute(DateTime.FixedLocalNow())
true