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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
farolito20
Contributor III
Contributor III

Subtract seconds

How subtract one second to a date?

Labels (1)
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