Returns the start time of the following day, considering your current time zone. Optionally, you can add a timezone different than your current one.
How does it work in the search window?
Select Create column in the search window toolbar, then select the Tomorrow operation.
This operation can be applied with no arguments. In this case, you will get the start time of the following day considering your current time zone. If you add the Time zone argument, you can specify a timezone different than your current one.
The data type of the new column values is timestamp.
demo.ecommerce.data table, we want to create a column showing the start time of the following day but using the UTC time zone (considering we are in GMT+1 time zone). To do it, we will create a new column using the Tomorrow operation.
The arguments needed to create the new column are:
- Time zone - UTC
Click Create column and you will see the following result:
How does it work in LINQ?
Use the operator
as... and add the operation syntax to create the new column. These are the valid formats for the Tomorrow operation:
tomorrow()→ Use this expression to get the start time of the following day, according to your current time zone.
tomorrow(timezone_string)→ Use this expression to get the start time of the following day, according to the specified time zone.
You can copy the following LINQ script and try the above example on the
from demo.ecommerce.data select tomorrow("UTC") as tomorrow_start