Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel2
typeflat

...

How does it work in the search window?

Select Create column field 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 current day considering your current time zone. If you add the Time zone argument, you can specify a timezone different than your current one to see the time your time zone presents when the following day starts in the specified time zone. When assigning a time zone different to yours, pay special attention to the original timestamp of the event, as the result may imply a day shift in the time zone specified. 

Argument

Data type

Description

Time zonemandatory

string

You need a valid string format the app can recognize so it returns meaningful results. If you leave the field empty or introduce a value the app cannot recognize, the default Time Zone is UTC. You can use one of the following methods:

  1. A time zone code→ UTC, PST, CST, etc. Check the full list here.

  2. The time zone database name → America/Los_Angeles, Europe/Amsterdam, Asia/Tokyo, etc. For the full list, see here.

  3. The full name of the time zone →  Universal Time Coordinated, Pacific Standard Time, Central Standard Time, etc. Check the full list here.

  4. The name of the region as it appears in Devo → Asia/Shanghai, Europe/Athens, America/New York, etc. You can check the time zone codes and region names in the Configure Timezone window in Devo.

Note

Be aware that some of the codes coincide, as CST could mean Central Standard Time or China Standard Time. In that case, it would be advisable to avoid using codes and introduce any of the other formats mentioned.

The data type of the new column field values is timestamp.

Info

Be aware that in some time zones they set the clock forward during summer and thus the results will be altered. For example, Europe/Madrid (CET-Central European Time), which is UTC+1, becomes UTC+2 during summertime. Performing this operation during summer with that time zone selected as your own or using it as an argument will affect the results. Be also aware that summertime differs between the Northern and Southern Hemispheres.

Example

In the demosiem.logtrust.ecommerceweb.dataactivity table, we want to create a column field showing the start time of the following day (today is January 16thApril 24th) taking as reference the EET EEST (Eastern European Summer Time, UTC+23) and considering we are in CET CEST (Central European Summer Time, UTC+12). To do itthis, we will create a new column field using the Tomorrow operation.

The arguments needed to create the new column field are:

  • Time zone - EETEEST

...

Click Create columnfield and you will see the following result:

  • The new column field shows that when the following day (January 17April 25th) started in ETT EEST (Eastern European Summer Time, UTC+23), it was 23 hours of January 16April 24th in CET CEST (Central European Summer Time, UTC+12).

...

How does it work in LINQ?

Use the operator select... as...  and add the operation syntax to create the new columnfield. 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.

Example

You can copy the following LINQ script and try the above example on the demosiem.logtrust.ecommerceweb.dataactivity table.

Code Block
from demosiem.logtrust.ecommerceweb.dataactivity 
 select tomorrow("EETEEST") as Tomorrowtomorrow_start_EETEEST