Date.IsInCurrentDayDate.IsInCurrentDay

SintaxeSyntax

Date.IsInCurrentDay(dateTime as any) as nullable logical

SobreAbout

Indica se o valor de datetime dateTime especificado ocorre durante o dia atual, conforme determinado pela data e pela hora atuais do sistema.Indicates whether the given datetime value dateTime occurs during the current day, as determined by the current date and time on the system.

  • dateTime: Um valor date, datetime ou datetimezone a ser avaliado.dateTime: A date, datetime, or datetimezone value to be evaluated.

ExemploExample

Determine se a hora atual do sistema ocorre no dia atual.Determine if the current system time is in the current day.

Date.IsInCurrentDay(DateTime.FixedLocalNow())

true