DateTime.IsInCurrentSecond

This function checks if the provided datetime value occurs during the present second based on the current date and time on the system. It takes a datetime or datetimezone value as input for evaluation...

Syntax

DateTime.IsInCurrentSecond(dateTime as any) as nullable logical

About

This function checks if the provided datetime value occurs during the present second based on the current date and time on the system. It takes a datetime or datetimezone value as input for evaluation.

Explanation

Verify whether the current time in the system falls within the current second. SyntaxPower Query MDateTime.IsInCurrentSecond(DateTime.FixedLocalNow())Resulttrue