Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

General Discussions

Discuss any topics that are not product-specific here.

Generate rows between two dates and time

tushar_portal
6 - Meteoroid

Hello Community,

 

I want to generate rows in the difference of 3 hours for complete days between two dates.

 

Input:

Start_TimeEnd_Time
2022-23-04 00:00:002022-23-05 23:59:59

 

Output:

Start_TimeEnd_TimeTime
2022-23-04 00:00:002022-23-05 23:59:592022-23-04 00:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-04 03:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-04 06:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-04 09:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-04 12:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-04 15:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-04 18:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-04 21:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-05 00:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-05 03:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-05 06:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-05 09:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-05 12:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-05 15:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-05 18:00:00
2022-23-04 00:00:002022-23-05 23:59:592022-23-05 21:00:00

 

1 REPLY 1
amanda_payne
8 - Asteroid

Use the Generate Rows tool and configure to add three hours between start and end: DateTimeAdd([Time],3,"hour")

 

amanda_payne_0-1682530410311.png

 

 

amanda_payne_1-1682530451502.png

 

Labels