DateTime.IsInCurrentSecond
통사론
DateTime.IsInCurrentSecond(dateTime as any) as nullable logical
소개
지정된 datetime 값 dateTime
이 시스템의 현재 날짜 및 시간에 따라 현재 초에 발생하는지 여부를 나타냅니다.
-
dateTime
: 평가할datetime
또는datetimezone
값입니다.
예제 1
현재 시스템 시간이 현재 초에 포함되는지 확인합니다.
사용량
DateTime.IsInCurrentSecond(DateTime.FixedLocalNow())
출력
true