Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to set exact time

Hello Qlikers,

this is my first question here...I haven't found solution so far...

I have column SEQ...sequnce from 1 to....5000. Need to create new column BuildTime, which will start From Today 6 a.m. and then each seqence will be postponed by 57 seconds.

Means:

Seq l  Build time

1     l  Today 6:00:00 am

2     l  Today 6:00:57 am

3     l  Today 6:01:54 am...

and so on...

Much appreciated any help---

Thanks.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

I figured it out like this:

Timestamp(If(Seq=1,'$(vToday)'+0.25,('$(vToday)'+0.25)+0.000666666666*(Sekvence-1))) as BuildTime

Thank you anyway for responses.

View solution in original post

3 Replies
ValeriyaBartosh
Partner - Contributor III
Partner - Contributor III

Hello,

mb try to use autogenerate () function


time(time( '06:00:00' )+time( '00:00:57' ) *1)

time(time( '06:00:00' )+time( '00:00:57' ) *2)

time(time( '06:00:00' )+time( '00:00:57' ) *3)

Screenshot_5.png

Screenshot_6.png

vvvvvvizard
Partner - Specialist
Partner - Specialist

time(time( '06:00:00' )+(time( '00:00:57' ) *2)


Maybe add the extra bracket

Anonymous
Not applicable
Author

Hi,

I figured it out like this:

Timestamp(If(Seq=1,'$(vToday)'+0.25,('$(vToday)'+0.25)+0.000666666666*(Sekvence-1))) as BuildTime

Thank you anyway for responses.