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

Announcements
Discover the Trends Shaping AI in 2026: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
farolito20
Contributor III
Contributor III

Subtract seconds

How subtract one second to a date?

3 Replies
nagaiank
Specialist III
Specialist III

You may try the following expression:

Timestamp([Your Date or Timestamp]-Interval#('00:00:01','hh:mm:ss'),'dd/mm/yyyy hh:mm:ss')

Not applicable

hi

see attached file.

Timestamp(Timestamp([date1]-Interval#('00:00:01','hh:mm:ss'),'dd/mm/yyyy hh:mm:ss'))

fdelacal
Specialist
Specialist

try in the list box with this

=timestamp(Timestamp([date1]-Interval#('00:00:01','hh:mm:ss'),'dd/mm/yyyy hh:mm:ss'))

add timestamp..

hope it helps you