Date.StartOfDayDate.StartOfDay

SintaxeSyntax

 
Date.StartOfDay(dateTime as any) as any

SobreAbout

Retorna o primeiro valor do dia dateTime.Returns the first value of the day dateTime. dateTime precisa ser um valor date, datetime ou datetimezone.dateTime must be a date, datetime, or datetimezone value.

Exemplo 1Example 1

Localizar o início do dia de 10 de outubro de 2011, 8h (#datetime(2011, 10, 10, 8, 0, 0)).Find the start of the day for October 10th, 2011, 8:00AM (#datetime(2011, 10, 10, 8, 0, 0)).

Date.StartOfDay(#datetime(2011, 10, 10, 8, 0, 0))

#datetime(2011, 10, 10, 0, 0, 0)