Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: ejonesInteresting. I thought this was going to be trivial but did not find the timeAdjust() function like I expected.
But you can use the dateTimeAdjust() function and a bit of typecasting
sevenSecondsEarlier = timestamp('timeValue').dateTimeAdjust(7,"seconds") .time()