Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
alvinford
Contributor III
Contributor III

How to generate Start Time

Hi All,

Facing issue with the time. Need to generate the start time based on the end time and duration.

I have event end time as 00:20:00 (hh:mm:ss) and Duration as 3:20:00(hh:mm:ss).

How can I get the Start Time i.e 09:00:00.

Request your help.

Thanks in Advance.


Regards,
Alvin.
11 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw


talk is cheap, supply exceeds demand
alvinford
Contributor III
Contributor III
Author

Hi Gysbert,

Thanks for your reply. I need more help on this.

LoginTimeLogOutTime
10:09:08 AM10:18:20
10:13:54 AM10:34:26
10:18:46 AM12:19:18
10:22:06 AM11:06:49
10:32:54 AM16:15:54
10:44:11 AM13:12:11
10:45:23 AM13:14:49
10:48:58 AM12:37:48
10:52:21 AM12:39:28
10:58:15 AM11:03:14
10:59:52 AM11:24:11
10:59:57 AM11:49:22

I have the LoginTime  and LogoutTime need to Generate the Hours between the time in the New Column.

For Example : Taking the highlighted LoginTime and LogOut time i.e. 10:45:23 to 13:14:49 , Need to generate following hours between them i.e. 10,11,12,13 .

How can I generate new column containing  Hours between the LoginTime and LogOut time ?

Regards,

Alvin.